postgresql_server: adjust connections only for db-koji01, leave pagure01 and others back at 750
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
d0930d95dc
commit
b4f82f8e38
1 changed files with 4 additions and 0 deletions
|
@ -65,7 +65,11 @@ listen_addresses = '*' # what IP address(es) to listen on;
|
|||
# defaults to 'localhost', '*' = all
|
||||
# (change requires restart)
|
||||
port = 5432 # (change requires restart)
|
||||
{% if ansible_hostname.startswith("db-koji01") %}
|
||||
max_connections = 2000 # (change requires restart)
|
||||
{% else %}
|
||||
max_connections = 750 # (change requires restart)
|
||||
{% endif %}
|
||||
# Note: Increasing max_connections costs ~400 bytes of shared memory per
|
||||
# connection slot, plus lock space (see max_locks_per_transaction). You might
|
||||
# also need to raise shared_buffers to support more connections.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue