fine tune SpareServers on copr-fe and allow server-status
so I can see what is happening there
This commit is contained in:
parent
a692918cbb
commit
3b4edc4ade
2 changed files with 20 additions and 1 deletions
|
@ -35,7 +35,7 @@ destdir=/var/lib/copr/public_html/results
|
||||||
sleeptime=30
|
sleeptime=30
|
||||||
|
|
||||||
# default is 8
|
# default is 8
|
||||||
num_workers=5
|
num_workers=8
|
||||||
|
|
||||||
# path to log file
|
# path to log file
|
||||||
# default is /var/log/copr/backend.log
|
# default is /var/log/copr/backend.log
|
||||||
|
|
|
@ -43,3 +43,22 @@ WSGISocketPrefix /var/run/wsgi
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
</VirtualHost>
|
</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>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue