pravega / zookeeper-operator

Kubernetes Operator for Zookeeper
Apache License 2.0
364 stars 203 forks source link

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

Open smallpotatop opened 7 months ago

smallpotatop commented 7 months ago

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.