Hi, I made Debian package update/upgrade and since then my apache hang every few 20-120 minutes. and I have to restart to make the site available. I tried to find the cause, but with no luck (I;m not an linux expert) here is my apace error.log: Code: 31 [Fri Dec 11 11:35:56 2009] [warn] child process 25646 still did not exit, sending a SIGTERM 232 [Fri Dec 11 11:35:56 2009] [warn] child process 25135 still did not exit, sending a SIGTERM 233 [Fri Dec 11 11:35:56 2009] [warn] child process 25653 still did not exit, sending a SIGTERM 234 [Fri Dec 11 11:35:56 2009] [warn] child process 24765 still did not exit, sending a SIGTERM 235 [Fri Dec 11 11:35:58 2009] [warn] child process 23242 still did not exit, sending a SIGTERM 236 [Fri Dec 11 11:35:58 2009] [warn] child process 25016 still did not exit, sending a SIGTERM 237 [Fri Dec 11 11:35:58 2009] [warn] child process 25675 still did not exit, sending a SIGTERM 238 [Fri Dec 11 11:35:58 2009] [warn] child process 25005 still did not exit, sending a SIGTERM 239 [Fri Dec 11 11:35:58 2009] [warn] child process 25022 still did not exit, sending a SIGTERM 240 [Fri Dec 11 11:35:58 2009] [warn] child process 24474 still did not exit, sending a SIGTERM 241 [Fri Dec 11 11:35:58 2009] [warn] child process 25690 still did not exit, sending a SIGTERM 242 [Fri Dec 11 11:35:58 2009] [warn] child process 24538 still did not exit, sending a SIGTERM 243 [Fri Dec 11 11:35:58 2009] [warn] child process 25631 still did not exit, sending a SIGTERM 244 [Fri Dec 11 11:35:58 2009] [warn] child process 24544 still did not exit, sending a SIGTERM 245 [Fri Dec 11 11:35:58 2009] [warn] child process 25122 still did not exit, sending a SIGTERM 246 [Fri Dec 11 11:35:58 2009] [warn] child process 25635 still did not exit, sending a SIGTERM 247 [Fri Dec 11 11:35:58 2009] [warn] child process 25639 still did not exit, sending a SIGTERM 248 [Fri Dec 11 11:35:58 2009] [warn] child process 25646 still did not exit, sending a SIGTERM 249 [Fri Dec 11 11:35:58 2009] [warn] child process 25135 still did not exit, sending a SIGTERM 250 [Fri Dec 11 11:35:58 2009] [warn] child process 25653 still did not exit, sending a SIGTERM 251 [Fri Dec 11 11:35:58 2009] [warn] child process 24765 still did not exit, sending a SIGTERM 252 [Fri Dec 11 11:36:00 2009] [error] child process 23242 still did not exit, sending a SIGKILL 253 [Fri Dec 11 11:36:00 2009] [error] child process 25016 still did not exit, sending a SIGKILL 254 [Fri Dec 11 11:36:00 2009] [error] child process 25675 still did not exit, sending a SIGKILL 255 [Fri Dec 11 11:36:00 2009] [error] child process 25005 still did not exit, sending a SIGKILL 256 [Fri Dec 11 11:36:00 2009] [error] child process 25022 still did not exit, sending a SIGKILL 257 [Fri Dec 11 11:36:00 2009] [error] child process 24474 still did not exit, sending a SIGKILL 258 [Fri Dec 11 11:36:00 2009] [error] child process 25690 still did not exit, sending a SIGKILL 259 [Fri Dec 11 11:36:00 2009] [error] child process 24538 still did not exit, sending a SIGKILL 260 [Fri Dec 11 11:36:00 2009] [error] child process 25631 still did not exit, sending a SIGKILL 261 [Fri Dec 11 11:36:00 2009] [error] child process 24544 still did not exit, sending a SIGKILL 262 [Fri Dec 11 11:36:00 2009] [error] child process 25122 still did not exit, sending a SIGKILL 263 [Fri Dec 11 11:36:00 2009] [error] child process 25635 still did not exit, sending a SIGKILL 264 [Fri Dec 11 11:36:00 2009] [error] child process 25639 still did not exit, sending a SIGKILL 265 [Fri Dec 11 11:36:00 2009] [error] child process 25646 still did not exit, sending a SIGKILL 266 [Fri Dec 11 11:36:00 2009] [error] child process 25135 still did not exit, sending a SIGKILL 267 [Fri Dec 11 11:36:00 2009] [error] child process 25653 still did not exit, sending a SIGKILL 268 [Fri Dec 11 11:36:00 2009] [error] child process 24765 still did not exit, sending a SIGKILL 269 [Fri Dec 11 11:36:01 2009] [notice] caught SIGTERM, shutting down 270 [Fri Dec 11 11:36:02 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] 271 [Fri Dec 11 11:36:02 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? 272 [Fri Dec 11 11:36:02 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? 273 [Fri Dec 11 11:36:02 2009] [warn] Init: SSL server IP/port conflict: default-XX-XX-XX-XX:XX (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. webmail:4> 274 [Fri Dec 11 11:36:02 2009] [warn] Init: SSL server IP/port conflict: XXX.XXX.XXX:XXX (/var/www/vhosts/XXX.XXX/conf/httpd.include:176) vs. webm> 275 [Fri Dec 11 11:36:02 2009] [warn] Init: SSL server IP/port conflict: XXX.XXX:XXX (/var/www/vhosts/XXX.XXX/conf/httpd.include:12) vs. webmail:443> 276 [Fri Dec 11 11:36:02 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!! 277 [Fri Dec 11 11:36:02 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) 278 [Fri Dec 11 11:36:02 2009] [notice] mod_python: Creating 8 session mutexes based on 280 max processes and 0 max threads. 279 [Fri Dec 11 11:36:02 2009] [notice] mod_python: using mutex_directory /tmp 280 [Fri Dec 11 11:36:02 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? 281 [Fri Dec 11 11:36:02 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? 282 [Fri Dec 11 11:36:02 2009] [warn] Init: SSL server IP/port conflict: default-XX-XX-XX-XX:XXX (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. webmail:4> 283 [Fri Dec 11 11:36:02 2009] [warn] Init: SSL server IP/port conflict: XXX.XXX.XXX:XXX (/var/www/vhosts/XXX.XX/conf/httpd.include:176) vs. webm> 284 [Fri Dec 11 11:36:02 2009] [warn] Init: SSL server IP/port conflict: XXX.XXX:XXX (/var/www/vhosts/XXX.XXX/conf/httpd.include:12) vs. webmail:443> 285 [Fri Dec 11 11:36:02 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!! 286 [Fri Dec 11 11:36:02 2009] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 28 bytes) 287 [Fri Dec 11 11:36:02 2009] [notice] mod_bw : Version 0.8 - Initialized [0 Confs] 288 [Fri Dec 11 11:36:02 2009] [notice] Apache configured -- resuming normal operations 289 [Fri Dec 11 11:36:17 2009] [error] server reached MaxClients setting, consider raising the MaxClients setting *I censored some sensitive information in the log. I think apache hangs after killing so many child process. but I don't find the solution for this. Thanks
Not sure what's causing this, but you can use monit to automatically restart Apache if this happens: http://www.howtoforge.com/server_monitoring_with_munin_monit_debian_etch_p2