Re: Configuration for high concurrent load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>     On Sat, Mar 2, 2013 at 3:59 PM, Nick Kew <nick@xxxxxxxxxxxx
>     <mailto:nick@xxxxxxxxxxxx>> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux