You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chan Kwok Leung <kw...@morgentech.com> on 2002/05/08 07:59:31 UTC

My Apache restart automatically everyday !

Hi,

My apache server restarts automatically each day on the same time.
I read from the error_log. At the moment of server restarts, it shows :

[warn] child process 5090 did not exit, sending another SIGHUP
[warn] child process 5091 did not exit, sending another SIGHUP
[notice] SIGHUP received. Attempting to restart

Then, the server is restarted ! Why ?

-- 
Chan Kwok Leung
============================================================
		Morgen Technology Company Ltd.		
------------------------------------------------------------ 	
	Email	: kwokleung-chan@morgentech.com		
============================================================



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: My Apache restart automatically everyday !

Posted by Owen Boyle <ob...@bourse.ch>.
Chan Kwok Leung wrote:
> 
> Hi,
> 
> My apache server restarts automatically each day on the same time.
> I read from the error_log. At the moment of server restarts, it shows :
> 
> [warn] child process 5090 did not exit, sending another SIGHUP
> [warn] child process 5091 did not exit, sending another SIGHUP
> [notice] SIGHUP received. Attempting to restart
> 
> Then, the server is restarted ! Why ?

Apache doesn't restart itself... You must have a cronjob somewhere doing
it. Check the root crontab for anything to do with apache (assuming you
start apache as root). Otherwise, check the various user crontabs (look
in /var/spool/cron/crontabs to save time).

Rgds,

Owen Boyle.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: My Apache restart automatically everyday !

Posted by Joshua Slive <jo...@slive.ca>.
Chan Kwok Leung wrote:
> My version is 1.3.20.
> 
>>On Wed, 8 May 2002, Chan Kwok Leung wrote:
>>
>>>Hi,
>>>
>>>My apache server restarts automatically each day on the same time.
>>>I read from the error_log. At the moment of server restarts, it shows :


Wait a second.  Are you just asking why the server is restarting?

Well, the answer to that is that you have a cron job of some sort 
restarting it.  One possibility is some sort of log rotation program 
that needs to restart teh server to switch the logs.

Joshua.





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: My Apache restart automatically everyday !

Posted by Chan Kwok Leung <kw...@morgentech.com>.
My version is 1.3.20.

Joshua Slive wrote:

>On Wed, 8 May 2002, Chan Kwok Leung wrote:
>
>>Hi,
>>
>>My apache server restarts automatically each day on the same time.
>>I read from the error_log. At the moment of server restarts, it shows :
>>
>>[warn] child process 5090 did not exit, sending another SIGHUP
>>[warn] child process 5091 did not exit, sending another SIGHUP
>>[notice] SIGHUP received. Attempting to restart
>>
>>Then, the server is restarted ! Why ?
>>
>
>What version of Apache are you using, and if 2.0, what MPM?
>
>In general, these messages are nothing to worry about.  I would be
>slightly more worried if it had to send SIGKILL, but even then, it usually
>isn't a big deal.
>
>Joshua.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>

-- 
Chan Kwok Leung
============================================================
		Morgen Technology Company Ltd.		
------------------------------------------------------------
	Address: 11/F., Block G, East Sun Industrial Center,	
		  16 Shing Yip Street, Kwun Tong,		
		  Kowloon, Hong Kong				
	Email	: kwokleung-chan@morgentech.com		
	Tel	: (852) 2329 2697				
	Fax	: (852) 2951 0074				
============================================================



Re: My Apache restart automatically everyday !

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 8 May 2002, Chan Kwok Leung wrote:

> Hi,
>
> My apache server restarts automatically each day on the same time.
> I read from the error_log. At the moment of server restarts, it shows :
>
> [warn] child process 5090 did not exit, sending another SIGHUP
> [warn] child process 5091 did not exit, sending another SIGHUP
> [notice] SIGHUP received. Attempting to restart
>
> Then, the server is restarted ! Why ?

What version of Apache are you using, and if 2.0, what MPM?

In general, these messages are nothing to worry about.  I would be
slightly more worried if it had to send SIGKILL, but even then, it usually
isn't a big deal.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org