aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-09-06 04:09:47 -0700
committerSteven Dake <stdake@cisco.com>2015-09-06 04:53:28 -0700
commita8a41a81aa53ce8b6579a4e8abb5f02c9c317884 (patch)
tree22353becbb270f2425225eba11fa855fae2a89b2 /ansible
parent7f81dbc85bb98a943697c62f02d69ece07a1da22 (diff)
downloadkolla-a8a41a81aa53ce8b6579a4e8abb5f02c9c317884.tar.gz
kolla-a8a41a81aa53ce8b6579a4e8abb5f02c9c317884.zip
Permit larger database connection count
The default incoming database connection count is limited to 151 connections. These are not sufficient in a 100 node 3 controller deployment to launch several heat stacks simulatenously. Data measured on bare metal shows that 250 connections are needed to launch one 25 VM heat stack with 3 controller nodes with 209 tasks (default enablement). Change-Id: If60b540010d6d173a393fa91fa30cb3ba572cfc0 Closes-Bug: #1492719
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/mariadb/templates/galera.cnf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/mariadb/templates/galera.cnf.j2 b/ansible/roles/mariadb/templates/galera.cnf.j2
index b59d25ce7..e949af03b 100644
--- a/ansible/roles/mariadb/templates/galera.cnf.j2
+++ b/ansible/roles/mariadb/templates/galera.cnf.j2
@@ -20,3 +20,5 @@ wsrep_node_name={{ ansible_hostname }}
wsrep_sst_method=xtrabackup-v2
wsrep_sst_auth={{ database_user }}:{{ database_password }}
wsrep_slave_threads=4
+
+max_connections=1000