From 02e6deb26a5a12b654828034d996963d323bbccd Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 3 Jan 2020 20:43:08 +0000 Subject: [PATCH] koji-hub: sync changes with running config on max workers Also sync some things from upstream config. Signed-off-by: Kevin Fenzi --- roles/koji_hub/templates/kojiweb.conf.j2 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/roles/koji_hub/templates/kojiweb.conf.j2 b/roles/koji_hub/templates/kojiweb.conf.j2 index 755835ada9..ecae18cb8c 100644 --- a/roles/koji_hub/templates/kojiweb.conf.j2 +++ b/roles/koji_hub/templates/kojiweb.conf.j2 @@ -2,11 +2,8 @@ RewriteEngine On RewriteRule ^/$ /koji/ [R,L] KeepAlive On -StartServers 5 -MinSpareServers 5 -MaxSpareServers 10 -ServerLimit 400 -MaxRequestWorkers 400 +ServerLimit 800 +MaxRequestWorkers 800 MaxConnectionsPerChild 1000 #We use wsgi by default @@ -24,6 +21,8 @@ Alias /robots.txt /var/www/html/robots.txt Options ExecCGI SetHandler wsgi-script + WSGIApplicationGroup %{GLOBAL} + WSGIScriptReloading Off Require all granted