Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th December 2009, 12:12
rslinks rslinks is offline
Junior Member
 
Join Date: Oct 2008
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Default Apche hangs ever few minutes after an update

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
Reply With Quote
Sponsored Links
  #2  
Old 12th December 2009, 15:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Not sure what's causing this, but you can use monit to automatically restart Apache if this happens: http://www.howtoforge.com/server_mon...debian_etch_p2
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th December 2009, 18:57
rslinks rslinks is offline
Junior Member
 
Join Date: Oct 2008
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
Not sure what's causing this, but you can use monit to automatically restart Apache if this happens: http://www.howtoforge.com/server_mon...debian_etch_p2
Thanks for the suggestion. It's a great temporary solution.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 updates fails & not able to update to 8.10 from CD ssk123 Installation/Configuration 5 4th June 2009 05:01
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
writeconf.php matiasCU Installation/Configuration 4 23rd December 2008 12:36
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


All times are GMT +2. The time now is 21:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.