summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-06-09 14:32:33 (GMT)
committerBaserock Gerrit <gerrit@baserock.org>2015-06-11 08:02:26 (GMT)
commit94ffa8c1e36602543f7f02a218d5ef7185796cda (patch)
treea2a9a291d5f3e62d22774388fda8f08cc8c17348
parent93575a2ceeeda77a5bb8c6121a9cac3edde1afbf (diff)
downloaddefinitions-94ffa8c1e36602543f7f02a218d5ef7185796cda.tar.gz
Increase the number of max connections for postgresql
Openstack itself was generating more than 100 connections. This was blocking the services to access to the database, so failing to attempt to do any action/command. Change-Id: Ifdbb39c1875cd705fecf09294bb252cf97531f67
-rw-r--r--install-files/openstack/usr/share/openstack/postgres/postgresql.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/install-files/openstack/usr/share/openstack/postgres/postgresql.conf b/install-files/openstack/usr/share/openstack/postgres/postgresql.conf
index 7415338..9c8094e 100644
--- a/install-files/openstack/usr/share/openstack/postgres/postgresql.conf
+++ b/install-files/openstack/usr/share/openstack/postgres/postgresql.conf
@@ -1,5 +1,5 @@
listen_addresses = '{{ MANAGEMENT_INTERFACE_IP_ADDRESS }}'
-max_connections = 100
+max_connections = 300
shared_buffers = 128MB
log_timezone = 'UTC'
datestyle = 'iso, mdy'