httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Wigg <>
Subject Re: [users@httpd] about ServerLimit and ThreadLimit
Date Mon, 14 Dec 2009 10:23:41 GMT
> 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.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message