httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard <>
Subject Re: [users@httpd] Some questions regarding Apache HTTP Server ServerLimit (Too Many Child Processes)
Date Fri, 18 May 2018 12:27:57 GMT

> Date: Friday, May 18, 2018 14:59:21 +0900
> From: <>

> Hello,
> I'm using Apache HTTP Server 2.2.32 on Linux.
> I see that too many child processes are being made on Apache HTTP
> Server.
> Child processes are being made up to 256 on Apache HTTP Server.
> Apache HTTP Server is using ServerLimit default value(256).
> Q. Could you please provide me how to set ServerLimit value greater
> than ServerLimit default value(256) on Apache HTTP Server?
> Q. Could you please give me any advice for reducing be being made
> too many child processes on Apache HTTP Server?
> Q. Is tcpdump helpful for analyzing why the issue has been
> happening? I thought tcpdump wouldn't be helpful to analyze why the
> issue has been happening.
> Please refer the following information.
> ServerLimit 256
> Timeout 1800
> <IfModule mpm_prefork_module>
>     StartServers         32
>     MinSpareServers      25
>     MaxSpareServers      75
>     MaxClients         1024
>     MaxRequestsPerChild   0
> </IfModule>
> Mohammed G.

You can increase your server limit above the 256 default by changing
the value on that line in your config file (and restarting your
server). Increasing your server limit value is just addressing the
symptom not the underlying problem. That you have your Timeout set
abnormally high is not helping the issue.

While it could be that your server is just under resourced for the
amount of use it is getting, generally you hit server/maxclient
limits when some content/resource on your site takes a long time to
process and/or be sent to the client. Do an analysis of your server
logs, checking for slow serving times.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message