octavia/octavia/amphorae
Gregory Thiemonge eff1c1a63e Update nr_open limit value in the amphora
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 4174f4a5a4)
(cherry picked from commit f55376bf5d)
(cherry picked from commit c177987f81)
(cherry picked from commit e4300558e1)
2021-09-02 15:30:09 +02:00
..
backends Update nr_open limit value in the amphora 2021-09-02 15:30:09 +02:00
driver_exceptions Use retry for AmphoraComputeConnectivityWait 2020-07-07 13:59:00 +00:00
drivers Fix backend certificate file paths 2020-09-24 16:14:59 +02:00
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00