commit | 311d981e580e98f304654b645ac985c7363f454f | [log] [tgz] |
---|---|---|
author | Vladimir Khlyunev <vkhlyunev@mirantis.com> | Fri Aug 20 01:59:42 2021 +0400 |
committer | Vladimir Khlyunev <vkhlyunev@mirantis.com> | Wed Aug 25 21:17:04 2021 +0000 |
tree | ba93a8d0164bd521b176e01efbaca31ed4a079a4 | |
parent | 50e8cb9995742b4c5cf2d0f354f218107c201f63 [diff] |
Extend maxconn for galera haproxy Default "8000" hardcoded in formula and for large deployments it is not enough. Raising this only for database proxies. PROD-36509 Change-Id: I979c0a52b6d61dc08accd7d90ab3b1698d40286d (cherry picked from commit c82e6c00611c10851b8491867bb7fc5d7ffea95c)
diff --git a/haproxy/proxy/listen/openstack/galera/init.yml b/haproxy/proxy/listen/openstack/galera/init.yml index 1d7285a..67b79b4 100644 --- a/haproxy/proxy/listen/openstack/galera/init.yml +++ b/haproxy/proxy/listen/openstack/galera/init.yml
@@ -6,6 +6,9 @@ haproxy_params_check: 'check port 9200' haproxy: proxy: + global: + maxconn: 99999 + maxconn: 99999 timeout: server: 28810s client: 28810s
diff --git a/haproxy/proxy/listen/openstack/galera/mysql_neutron_proxy.yml b/haproxy/proxy/listen/openstack/galera/mysql_neutron_proxy.yml index 6c7b9c2..82b6d50 100644 --- a/haproxy/proxy/listen/openstack/galera/mysql_neutron_proxy.yml +++ b/haproxy/proxy/listen/openstack/galera/mysql_neutron_proxy.yml
@@ -3,9 +3,6 @@ haproxy_params_check: 'check port 9200' haproxy: proxy: - timeout: - server: 28810s - client: 28810s listen: mysql_cluster_neutron_conn: enabled: ${_param:haproxy_neutron_db_proxy_enabled}
diff --git a/haproxy/proxy/listen/openstack/galera/mysql_nova_proxy.yml b/haproxy/proxy/listen/openstack/galera/mysql_nova_proxy.yml index 8bc138f..7aa7505 100644 --- a/haproxy/proxy/listen/openstack/galera/mysql_nova_proxy.yml +++ b/haproxy/proxy/listen/openstack/galera/mysql_nova_proxy.yml
@@ -3,9 +3,6 @@ haproxy_params_check: 'check port 9200' haproxy: proxy: - timeout: - server: 28810s - client: 28810s listen: mysql_cluster_nova_conn: enabled: ${_param:haproxy_nova_db_proxy_enabled}