httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [users@httpd] Problem logging SIGTERM to ErrorLog when piping to rotatelogs
Date Fri, 22 Jul 2005 10:16:01 GMT
On Thu, Jul 21, 2005 at 10:06:37AM -0400, Craft, Wesley wrote:
> This is a strange problem when using rotate logs. We have multiple
> apache servers running and the one without rotatelogs being piped to
> from the ErrorLog directive reports the following in the error log when
> shutting down:
>  
>      [Wed Jun 15 14:08:46 2005] [notice] caught SIGTERM, shutting down
>  
> The servers that pipe the ErrorLog through rotatelogs have this (on a
> line by itself, no timestamp):
>  
>      Terminated

At shutdown the rotatelogs process will be sent SIGTERM along with the 
rest of the process group, so it may exit before the children have to to 
log their shutdown messages (it's a race).  I don't know why it would 
log that line, though, might be something Solaris-specific.

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message