phx2: bodhi: try restarting httpds more often/fewer requests
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
6480a0dac4
commit
be3d025dad
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ LoadModule unixd_module modules/mod_unixd.so
|
||||||
LoadModule mpm_event_module modules/mod_mpm_event.so
|
LoadModule mpm_event_module modules/mod_mpm_event.so
|
||||||
StartServers 20
|
StartServers 20
|
||||||
ServerLimit 100
|
ServerLimit 100
|
||||||
MaxRequestsPerChild 2000
|
MaxRequestsPerChild 100
|
||||||
MaxRequestWorkers 100
|
MaxRequestWorkers 100
|
||||||
<Directory "/usr/share/doc/bodhi-docs/html/">
|
<Directory "/usr/share/doc/bodhi-docs/html/">
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
|
@ -61,7 +61,7 @@ Alias /static/v{{ bodhi_version.split('-')[0] }} /srv/bodhi/bodhi/server/static/
|
||||||
{% else %}
|
{% else %}
|
||||||
Alias /static/v{{ bodhi_version.split('-')[0] }} /usr/lib/python3.7/site-packages/bodhi/server/static/
|
Alias /static/v{{ bodhi_version.split('-')[0] }} /usr/lib/python3.7/site-packages/bodhi/server/static/
|
||||||
{% endif %}
|
{% endif %}
|
||||||
WSGIDaemonProcess bodhi display-name=bodhi processes=2 threads=2 maximum-requests=1000 home=/httpdir request-timeout=60
|
WSGIDaemonProcess bodhi display-name=bodhi processes=2 threads=2 maximum-requests=100 home=/httpdir request-timeout=60
|
||||||
WSGIApplicationGroup %{GLOBAL}
|
WSGIApplicationGroup %{GLOBAL}
|
||||||
WSGISocketPrefix run/wsgi
|
WSGISocketPrefix run/wsgi
|
||||||
WSGIRestrictStdout Off
|
WSGIRestrictStdout Off
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue