fine tune SpareServers on copr-fe and allow server-status

so I can see what is happening there
This commit is contained in:
Miroslav Suchý 2014-01-23 12:13:03 +00:00
parent a692918cbb
commit 3b4edc4ade
2 changed files with 20 additions and 1 deletions

View file

@ -35,7 +35,7 @@ destdir=/var/lib/copr/public_html/results
sleeptime=30
# default is 8
num_workers=5
num_workers=8
# path to log file
# default is /var/log/copr/backend.log

View file

@ -43,3 +43,22 @@ WSGISocketPrefix /var/run/wsgi
Require all granted
</Directory>
</VirtualHost>
<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Require all denied
Require host localhost .redhat.com
</Location>
</IfModule>
<IfModule mpm_prefork_module>
StartServers 8
MinSpareServers 8
MaxSpareServers 20
MaxClients 50
MaxRequestsPerChild 10000
</IfModule>