diff --git a/roles/koji_hub/files/00-mpm.conf b/roles/koji_hub/files/00-mpm.conf index f349d67269..18c219a401 100644 --- a/roles/koji_hub/files/00-mpm.conf +++ b/roles/koji_hub/files/00-mpm.conf @@ -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 diff --git a/roles/koji_hub/templates/kojiweb.conf.j2 b/roles/koji_hub/templates/kojiweb.conf.j2 index cdbfde9561..17fa1065cd 100644 --- a/roles/koji_hub/templates/kojiweb.conf.j2 +++ b/roles/koji_hub/templates/kojiweb.conf.j2 @@ -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"