From a8a41a81aa53ce8b6579a4e8abb5f02c9c317884 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sun, 6 Sep 2015 04:09:47 -0700 Subject: [PATCH] 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 --- ansible/roles/mariadb/templates/galera.cnf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/mariadb/templates/galera.cnf.j2 b/ansible/roles/mariadb/templates/galera.cnf.j2 index b59d25ce76..e949af03b9 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