On Mon, 10 May 2010, Matt Domsch wrote:

> We're running into a problem where we're seeing 30 requests/second for
> the mirrorlists, but we only have 6 processes available for apache to
> send those to.
>
> This bumps up the number of processes, from 6 to 30, and cuts the
> number of threads from 25 to 1 (it's a single-threaded requestor app,
> and there's the python GIL still to deal with).
>
> We may need to do more on the mirrorlist-server.py process to handle
> the load (it fork()s on every connection), but this is a start...
>
> diff --git a/modules/mirrormanager/files/mirrorlist-server.conf 
> b/modules/mirrormanager/files/mirrorlist-server.conf
> index a26e4b3..ba8e7ab 100644
> --- a/modules/mirrormanager/files/mirrorlist-server.conf
> +++ b/modules/mirrormanager/files/mirrorlist-server.conf
> @@ -7,7 +7,7 @@ Alias /publiclist 
> /var/lib/mirrormanager/mirrorlists/publiclist/
>          ExpiresDefault "modification plus 1 hour"
>  </Directory>
>
> -WSGIDaemonProcess mirrorlist user=apache processes=6 threads=25 
> display-name=mirrorlist maximum-requests=1000
> +WSGIDaemonProcess mirrorlist user=apache processes=30 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
>

+1, this is actively causing problems.

        -Mike
_______________________________________________
infrastructure mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Reply via email to