octavia/etc
Gregory Thiemonge 6ba8dc62b6 Fix memory consumption issues with default connection_limit
With 1.8.x releases, haproxy consumes a lot of memory when
using 1,000,000 as default connection_limit.

This commit introduces a new configuration option for the Amphora
provider: [haproxy_amphora].default_connection_limit (defaulted to
50,000). This value is used when creating a listener with -1 (which is
the default) as connection_limit, or when unsetting connection_limit in
a listener.
Updating an existing listener by setting connection_limit to -1 also
sets it to default_connection_limit.

The global connection_limit for a load balancer is the sum of the
connection_limit of the listeners, but it cannot be over
HAPROXY_MAX_MAXCONN (which is still 1,000,000).

Story: 2007794
Task: 40046

Change-Id: Ibc525d9a046a5ab7f090a942459d80a2df66ae2e
(cherry picked from commit f4305e036c)
(cherry picked from commit 242239a705)
2020-12-01 19:41:26 +00:00
..
audit Add auditing support to the Octavia API 2018-12-11 23:32:58 +00:00
certificates Fix multi-typo error in Octavia 2017-01-05 11:56:20 +08:00
dhcp Disbale DNS update for port o-hm0 in devstack 2016-07-18 04:45:32 -05:00
policy Fixing Octavia generating json named file containing yaml 2018-07-24 13:06:55 +00:00
octavia.conf Fix memory consumption issues with default connection_limit 2020-12-01 19:41:26 +00:00