Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FD_SET Illegal write,select cannot be greater than 1024 fd #592

Open
smallpotatop opened this issue Jan 26, 2024 · 0 comments
Open

FD_SET Illegal write,select cannot be greater than 1024 fd #592

smallpotatop opened this issue Jan 26, 2024 · 0 comments

Comments

@smallpotatop
Copy link

Description

The ZooKeeper client does not support the select command during SSL initialization. As a result, the value of FD cannot be greater than 1024.
As a result, the FD usage is large in large-scale scenarios. If the FD usage is greater than 1024, the FD_SET may change the zh address or FD address of the upper-layer stack frame, causing the system crash.

Importance

major

Location

(Where is the piece of code, package, or document affected by this issue?)

Suggestions for an improvement

Use poll instead of select.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant