Apache process count is stalling
Hi ,
When I look at LongView the value of Apache Process Count it is stalled at 4.9K ( to be precise its not crossing 4914 ). While my settings in mpm_prefork are as follows :
<ifmodule mpm_prefork_module=""> ServerLimit 6000 StartServers 30 MinSpareServers 20 MaxSpareServers 50 MaxRequestWorkers 5500 MaxConnectionsPerChild 3000 </ifmodule>
It should reach 5500 … I dont understand why its not able to breach 5K mark. Please help.
My RAM : 64 GB
CPU : 16 CORES
1 Reply
It could be that 4.9k processes are all that Apache needs to handle the traffic it's receiving. With your other settings, the child processes will be aggressively shut down as soon as they've reached 3000 connections, so the only way to test the limit would be to have roughly 5500 separate simultaneous connections.
Are you running into anything such as slow loading times, timeouts, or similar? If everything's running smoothly I'd say Apache is running exactly as it's supposed to and just isn't running into it's limit with the amount of traffic it's getting. If you are running into slow loads or timeouts there could be another limit your Linode is running into, such as CPU time, RAM, or maximum MySQL connections. I'd recommend checking your Apache error log to see if there's anything reported there. Generally it's in /var/log/apache2 or /var/log/httpd