Re: about ServerLimit and ThreadLimit

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

 



> On the documentation of Apache2.2
> ServerLimit is a hard limit on the number of active child processes, and
> must be greater than or equal to the MaxClients directive divided by
> the ThreadsPerChild directive. ThreadLimit is a hard limit of the number of
> server threads, and must be greater than or equal to
> the ThreadsPerChild directive.
> I did like above on worker MPM but server reached Max connection when 256th
> connection come.
> <IfModule mpm_worker_module>
>     StartServers               5
>     MaxClients              350
>     MinSpareThreads       25
>     MaxSpareThreads      75
>     ThreadsPerChild         25
>     MaxRequestsPerChild   0
>     ServerLimit               40
>     ThreadLimit              40
> </IfModule>
> Is there something wrong in my configuration ?

My guess is that you're not using the worker MPM, and that you're
actually using the prefork MPM which is the default. Run a 'apachectl
-l' and see the modules you've got compiled-in. If you see 'prefork.c'
then that's why. See the docs for changing to worker if that's what
you want.

Cheers,
Phil.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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