koji_hub: and back to prefork
worker ate up db connections, so back to prefork. But increase max to 900 (from default 250) t0 hopefully avoid the orig issue. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
539ecf0387
commit
bf7cdb0849
2 changed files with 6 additions and 8 deletions
|
@ -3,13 +3,13 @@
|
|||
|
||||
# prefork MPM: Implements a non-threaded, pre-forking web server
|
||||
# See: http://httpd.apache.org/docs/2.4/mod/prefork.html
|
||||
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
||||
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
||||
|
||||
# worker MPM: Multi-Processing Module implementing a hybrid
|
||||
# multi-threaded multi-process web server
|
||||
# See: http://httpd.apache.org/docs/2.4/mod/worker.html
|
||||
#
|
||||
LoadModule mpm_worker_module modules/mod_mpm_worker.so
|
||||
#LoadModule mpm_worker_module modules/mod_mpm_worker.so
|
||||
|
||||
# event MPM: A variant of the worker MPM with the goal of consuming
|
||||
# threads only for connections with active processing
|
||||
|
|
|
@ -2,12 +2,10 @@ RewriteEngine On
|
|||
RewriteRule ^/$ /koji/ [R,L]
|
||||
KeepAlive On
|
||||
|
||||
ServerLimit 35
|
||||
StartServers 50
|
||||
MaxRequestWorkers 875
|
||||
MinSpareThreads 25
|
||||
MaxSpareThreads 75
|
||||
ThreadsPerChild 25
|
||||
StartServers 5
|
||||
MinSpareServers 5
|
||||
MaxSpareServers 10
|
||||
MaxRequestWorkers 900
|
||||
MaxConnectionsPerChild 1000
|
||||
|
||||
#We use wsgi by default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue