[mpm-itk] lots of "closing connections" workers

Pavel Polacek pavel.polacek at ujep.cz
Tue Mar 21 11:08:29 UTC 2017


   I'm using stable Debian Jessie with mpm_itk and php. Lately I see many 
workers in server-status page, most in "C" state - Closing Connection. 
Count of apache process never go down, only grow. Workers in "C" state 
alive to apache restart and looks busy (consuming memory, not CPU, 
process is in Sl state). I don't understand why. I have 
another server with oldstable Debian wheezy, where count of apache 
process grow and decrease by hour-to-hour utilization. I monitor server 
and I see, that problem is long time, but now it's close to limits in 

apache2-mpm-itk                2.4.10-10+deb8u8
libapache2-mod-php5            5.6.30+dfsg-0+deb8u1
libapache2-mod-shib2           2.5.3+dfsg-2
libapache2-mpm-itk             2.4.7-02-1.1+deb8u1

<IfModule mpm_prefork_module>
         StartServers                     5
         MinSpareServers           5
         MaxSpareServers          10
         MaxRequestWorkers         950
         ServerLimit             950
         MaxConnectionsPerChild   1000

Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5

Apache have sets 1200 limit in monitoring.

/etc/init.d/apache2 restart not kill all "old running" process. I have to 
kill it by signal 9.

         │         │             └─2*[{apache2}]]
         │         ├─12*[apache2───2*[{apache2}]]
         │         └─apache2

   Do you see similar behaviour with your mpm_itk?

     Thank you  Pavel Polacek

More information about the mpm-itk mailing list