File Descriptor Exhaustion Prevents New Connections
criticalResource ContentionUpdated Feb 6, 2026
ZooKeeper opens file descriptors for client connections, log files, and internal operations. Approaching the OS file descriptor limit causes connection failures and operational issues.
Sources



How to Monitor Zookeeper Ensemble Health with the Collectoroneuptime.com
Configuring and Monitoring Zookeeper with OpenTelemetry Receiveropenobserve.ai
End-to-End Guide: Configuring and Monitoring Zookeeper with OpenTelemetry Receiveropenobserve.ai
How to Configure the Zookeeper Receiver in the OpenTelemetry ...oneuptime.com
Technologies:
How to detect:
Monitor zookeeper.file_descriptor.open and zookeeper.file_descriptor.limit. Alert when open file descriptors exceed 80% of the limit, or when connection attempts fail with 'too many open files' errors in logs.
Recommended action:
Increase OS file descriptor limits in /etc/security/limits.conf and via ulimit. Investigate why file descriptor count is high - check for connection leaks, ensure old log files are being cleaned up, and verify client applications properly close connections. Consider reducing maxClientCnxns if necessary.