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?)
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.