Server hangs at 4.00 am while processing logs

Article ID: 2984 
Last Review: Oct,6 2008
Author: APPLIES TO:
  • Parallels Pro Control Panel Linux

Additional information

View Knowledge
Knowledge ID 2484
Product : Ensim Pro for Linux
Version : 4.0.3
Topic : Notification

Title
Server hangs at 4.00 am while processing logs

Summary
Server hangs at 4.00 am while processing logs

Prevention


Details

Product: Ensim Pro 4.0.3 and above
Date: 14-Jun-2007

Issue:

When the cron file /etc/cron.daily/1hup_apache_logs is executed the httpd service is not able to reload properly and it get stuck. The service is dead and it needs to be restarted manually. Even the server load goes high. And in some cases the server even crashes.

The error reported is:
============
[Wed Jan 17 18:00:13 2007] [warn] child process 11251 still did not exit, sending a SIGTERM
[Wed Jan 17 18:00:30 2007] [warn] child process 22053 still did not exit, sending a SIGTERM
[Wed Jan 17 18:00:30 2007] [warn] child process 1069 still did not exit, sending a SIGTERM
=============


Resolution:

Change "reload" to "restart" in /etc/cron.daily/1hup_apache_logs

Content of /etc/cron.daily/1hup_apache_logs are as follows:

#!/bin/bash
#/etc/rc.d/init.d/httpd_app_init reload-grc
# XXX Fix of the "lost child came home" issue
! /sbin/chkconfig httpd || /etc/rc.d/init.d/httpd_app_init reload


Change to

#!/bin/bash
#/etc/rc.d/init.d/httpd_app_init reload-grc
# XXX Fix of the "lost child came home" issue
! /sbin/chkconfig httpd || /etc/rc.d/init.d/httpd_app_init restart

 

 


Attachments


Related Knowledge

Related Links
 
Last ModifiedUsageSatisfiedLast Used
6/14/2007 4:35:54 AM11 10/12/2007 4:05:07 AM


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields