octavia/elements/haproxy-octavia
Gregory Thiemonge e4300558e1 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)
2021-09-02 15:23:51 +02:00
..
install.d Updating the disk image builder code 2015-04-10 21:03:17 +00:00
post-install.d Update nr_open limit value in the amphora 2021-09-02 15:23:51 +02:00
README.rst Add Amphora base image creation scripts for Octavia 2014-12-11 01:31:19 +00:00
element-deps Stop depending on tripleo-image-elements 2016-12-15 13:17:18 -06:00
package-installs.json Switch to ubuntu-minimal for default amphora image 2018-04-16 18:07:31 -07:00
pkg-map Stop supporting CentOS 7 controllers and images 2020-01-08 17:59:09 +01:00
svc-map Add Amphora base image creation scripts for Octavia 2014-12-11 01:31:19 +00:00

README.rst

Element to install an Octavia Amphora with an haproxy backend.