koji_hub: switch to event workers in apache and bump limits way up.
By default apache uses prefork and a limit of 250. It's possible that this limit was the thing causing us issues over the last week. This moves to the event mpm and ups limits a lot. It also needs to up limits on db connections or the increased workers will just cause the db server to overload. With this setup, builders are no longer dropping out, but it's not clear if it's solved all the issues we have been seeing. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
517bc3b03e
commit
fa46e8bc0e
4 changed files with 32 additions and 1 deletions
|
@ -65,7 +65,7 @@ listen_addresses = '*' # what IP address(es) to listen on;
|
|||
# defaults to 'localhost', '*' = all
|
||||
# (change requires restart)
|
||||
port = 5432 # (change requires restart)
|
||||
max_connections = 750 # (change requires restart)
|
||||
max_connections = 2000 # (change requires restart)
|
||||
# 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