Re: [users@httpd] Problem logging SIGTERM to ErrorLog when piping to rotatelogs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux