f55376bf5d
Using haproxy 2.x, the ideal rlimit value for nr_open is close to
connection_limit * 2.5 (see compute_ideal_* in src/haproxy.c).
Set this limit to 2,600,000 in the amphora to support a loadbalancer
with maxconn 1M.
This prevents the following warning messages when launching/reloading
haproxy:
* "Cannot raise FD limit to 2375058, limit is 2097152."
* "FD limit (2097152) too low for maxconn=950000/maxsock=2375058. Please
raise 'ulimit-n' to 2375058 or more to avoid any trouble."
Change-Id: I6251cd17bd6fa9faf5109e50c2190dda3614908d
(cherry picked from commit
|
||
---|---|---|
.. | ||
api_server | ||
templates | ||
__init__.py | ||
agent_jinja_cfg.py |