Article ID: 2984, created on Oct 29, 2007, last review on Apr 25, 2014

  • Applies to:
  • Pro Control Panel Linux

AdditionalInformation

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

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF