puppet: Set postgres max_connections to 1000.

There isn't much legitimate reason to have a limit as low as 100,
given how few resources a connection consumes.
This commit is contained in:
Tim Abbott 2019-05-13 17:19:31 -07:00
parent 4ac9778d69
commit ca48b4ec9f
4 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/<%= scope["zulip::base::postgres_versio
# defaults to 'localhost'; use '*' for all
# (change requires restart)
port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
max_connections = 1000 # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart)
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
# (change requires restart)

View File

@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/<%= scope["zulip::base::postgres_versio
# defaults to 'localhost', '*' = all
# (change requires restart)
port = 5432 # (change requires restart)
# max_connections = 100 # (change requires restart)
# max_connections = 1000 # (change requires restart)
# Note: Increasing max_connections costs ~400 bytes of shared memory per
# connection slot, plus lock space (see max_locks_per_transaction).
#superuser_reserved_connections = 3 # (change requires restart)

View File

@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/<%= scope["zulip::base::postgres_versio
# defaults to 'localhost'; use '*' for all
# (change requires restart)
port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
max_connections = 1000 # (change requires restart)
# Note: Increasing max_connections costs ~400 bytes of shared memory per
# connection slot, plus lock space (see max_locks_per_transaction).
#superuser_reserved_connections = 3 # (change requires restart)

View File

@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/<%= scope["zulip::base::postgres_versio
# defaults to 'localhost'; use '*' for all
# (change requires restart)
port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
max_connections = 1000 # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart)
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
# (change requires restart)