freeze break - change process/thread count on mirrorlist-* servers
seth vidal
skvidal at fedoraproject.org
Thu Jun 20 17:22:20 UTC 2013
Hi,
I'd like to change the number of processes/threads on the
mirrorlist-servers.
This morning we encountered a situation where mirrorlist-osuosl stopped
being able to answer due to not being able to get responses back from
the wsgi process server. After talking with Mdomsch he's suggested
changing the config in the following way:
diff --git a/files/mirrorlist/mirrorlist-server.conf
b/files/mirrorlist/mirrorlist-server.conf index c96c35a..1ee87bc 100644
--- a/files/mirrorlist/mirrorlist-server.conf
+++ b/files/mirrorlist/mirrorlist-server.conf
@@ -8,7 +8,7 @@ Alias /static /var/lib/mirrormanager/mirrorlists/static/
ExpiresDefault "modification plus 1 day"
</Directory>
-WSGIDaemonProcess mirrorlist user=apache processes=6 threads=25
display-name=mirrorlist maximum-requests=1000
+WSGIDaemonProcess
mirrorlist user=apache processes=45 threads=1 display-name=mirrorlist
maximum-requests=1000
WSGIScriptAlias /metalink /usr/share/mirrormanager/mirrorlist-server/mirrorlist_client.wsgi
WSGIScriptAlias /mirrorlist /usr/share/mirrormanager/mirrorlist-server/mirrorlist_client.wsgi
No other changes would be necessary.
This is easy to revert if need be - can I get 2 +1s?
-sv
More information about the infrastructure
mailing list