httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Weedy <weedy2...@gmail.com>
Subject Re: [users@httpd] Configuration for high concurrent load
Date Mon, 03 Jun 2013 16:31:11 GMT
>     On Sat, Mar 2, 2013 at 3:59 PM, Nick Kew <nick@webthing.com
>     <mailto:nick@webthing.com>> wrote:
> 
> 
>         On 2 Mar 2013, at 10:08, Austin Einter wrote:
> 
>         > I am doing a similar job..
>         > Here is the warning...
>         >
>         > Starting httpd: WARNING: MaxClients of 7500 exceeds
>         ServerLimit value of 330 servers,
>         >  lowering MaxClients to 330.  To increase, please see the
>         ServerLimit
>         >  directive.
> 
>         The prefork MPM limits you to one client per server.  Not useful for
>         higher loads.

Switch to mpm_event. My config is not setup for c10k, but should top out
MUCH higher then your current config.

Apache's error messages for load are pretty self explanatory, it should
be easy to adjust the limits after you max this config.

<IfModule mpm_event_module>
        MaxMemFree              10240
        StartServers            2
        MinSpareThreads         10
        MaxSpareThreads         30
        ThreadsPerChild         25
        ThreadLimit             45
        MaxClients              200
        MaxRequestsPerChild     1000
        GracefulShutDownTimeout 40
</IfModule>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message