Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
limit max number of sockets in poller. Fix #1962
The number of FD in the poller is automatically configured from the value of `ulimit -n`. On newer linux installations, this limit is much higher by default. This can result in unbound memory consumption. There is already a mechanism in place to handle the case when `ulimit -n == unlimited`. Extend it to support any unreasonable big limit value.
- Loading branch information