How does Envoy prevent file descriptor exhaustion?
Per-listener connection limits may be configured as an upper bound on the number of active connections a particular listener will accept. The listener may accept more connections than the configured value on the order of the number of worker threads.
In addition, one may configure a global limit on the number of connections that will apply across all listeners.
On Unix-based systems, it is recommended to keep the sum of all connection limits less than half of the system’s file descriptor limit to account for upstream connections, files, and other usage of file descriptors.
Note
This per-listener connection limiting will eventually be handled by the overload manager.
当前内容版权归 Envoy Proxy 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Envoy Proxy .