We are running apache in our environment with the version 2.4.27
apachectl -v
Server version: Apache/2.4.27 (Red Hat)
Server built: Jun 6 2018 13:30:38
over period of time I see httpd pids lying around holding memory and not serving any more requests as I see no LISTEN attached to that pid.
ps -ef | grep httpd | wc -l
52
lsof -i | grep LISTEN | grep httpd
10
In this scenario I see 42 dead pids on one of our node,
<IfModule mpm_worker_module>
ServerLimit 100
StartServers 5
ThreadsPerChild 32
MinSpareThreads 160
MaxSpareThreads 320
MaxRequestWorkers 3200
MaxConnectionsPerChild 50000
</IfModule>
I am not able to reproduce this issue and it happens only on production.
Really appreciate your inputs on this issue.
Thanks,
kk