From 1fac190cec3c628c8a4c745659fcec090d952abd Mon Sep 17 00:00:00 2001 From: Steven Dake <stdake@cisco.com> Date: Thu, 31 Mar 2016 00:40:01 -0700 Subject: [PATCH] Increase database connections to 10000 Scale limit testing on a 64 node cluster with 13 TB RAM and 2600 cores showed that atleast 1800 database connections are required to appropriately start 2000 virtual machines simulateounsly. Other documentation on the internet recommends larger values such as 8000, so we set to a larger value that should be able to handle a maxed out 512GB ram per compute node cluster with all services enabled. Change-Id: I8767cf3fb04e066cc22e796c647e944b4e4a1742 Closes-Bug: #1564275 --- ansible/roles/mariadb/templates/galera.cnf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/mariadb/templates/galera.cnf.j2 b/ansible/roles/mariadb/templates/galera.cnf.j2 index a4210fa9ca..7c426dbf89 100644 --- a/ansible/roles/mariadb/templates/galera.cnf.j2 +++ b/ansible/roles/mariadb/templates/galera.cnf.j2 @@ -25,7 +25,7 @@ wsrep_sst_method=xtrabackup-v2 wsrep_sst_auth={{ database_user }}:{{ database_password }} wsrep_slave_threads=4 -max_connections=1000 +max_connections=10000 [server] pid-file=/var/lib/mysql/mariadb.pid