pravega / zookeeper-operator

Kubernetes Operator for Zookeeper
Apache License 2.0
368 stars 206 forks source link

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

Open smallpotatop opened 10 months ago

smallpotatop commented 10 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.