Re: Some questions regarding Apache HTTP Server ServerLimit (Too Many Child Processes)

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

 




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

> 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: 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