koji_hub: event has a bug, switch to worker mpm mode
Seems the rhel7 apache hits https://bz.apache.org/bugzilla/show_bug.cgi?id=53555 so switch over to worker mode instead of event. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
fa46e8bc0e
commit
539ecf0387
2 changed files with 9 additions and 6 deletions
|
@ -9,10 +9,10 @@
|
|||
# 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
|
||||
# See: http://httpd.apache.org/docs/2.4/mod/event.html
|
||||
#
|
||||
LoadModule mpm_event_module modules/mod_mpm_event.so
|
||||
#LoadModule mpm_event_module modules/mod_mpm_event.so
|
||||
|
|
|
@ -2,10 +2,13 @@ RewriteEngine On
|
|||
RewriteRule ^/$ /koji/ [R,L]
|
||||
KeepAlive On
|
||||
|
||||
StartServers 150
|
||||
ServerLimit 900
|
||||
MaxRequestWorkers 900
|
||||
MaxRequestsPerChild 10000
|
||||
ServerLimit 35
|
||||
StartServers 50
|
||||
MaxRequestWorkers 875
|
||||
MinSpareThreads 25
|
||||
MaxSpareThreads 75
|
||||
ThreadsPerChild 25
|
||||
MaxConnectionsPerChild 1000
|
||||
|
||||
#We use wsgi by default
|
||||
Alias /koji "/usr/share/koji-web/scripts/wsgi_publisher.py"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue