httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23109] New: - Log pipe programs aren't killed on stop/reload/restart
Date Thu, 11 Sep 2003 16:26:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23109>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23109

Log pipe programs aren't killed on stop/reload/restart

           Summary: Log pipe programs aren't killed on stop/reload/restart
           Product: Apache httpd-2.0
           Version: 2.0.47
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: pb@bieringer.de


Hi,

my apache2 config uses per virtual server log pipe "cronolog". On start, per log
 definition one cronolog is started.

init-+-
     |-httpd-+-26*[cronolog]
     |       `-10*[httpd]

On stop/reload/restart, such processes aren't killed, resulting in
hanging-around old cronolog processes.

init-+-
     |-13*[cronolog]

Note, 26 cronolog processes started, after stop, 13 are still haning around. All
 of them are CustomLog processes, none of them are ErrorLog processes

Typical ps -axw

 3276 ?  S  0:00 /usr/sbin/cronolog /path/to/logs/www.server.de-log.%Y%m

Config:

ErrorLog  "|/usr/sbin/cronolog /path/to/logs/www.server.de-error.%Y%m"
CustomLog "|/usr/sbin/cronolog /path/to/logs/www.server.de-log.%Y%m" combined

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O"
combined

Note: I use mod_logio here, too.

Apache log on stop:

piped log program '/usr/sbin/cronolog /path/to/logs/www.server.de-log.%Y%m'
failed unexpectedly
[Thu Sep 11 18:05:04 2003] [notice] caught SIGTERM, shutting down
[Thu Sep 11 18:05:52 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Thu Sep 11 18:05:55 2003] [notice] Apache/2 configured -- resuming normal
operations

I've tried already the patch from attachement given in 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21648
but it doesn't help.

Currently I have on config changes to stop Apache2, kill still living cronolog
processes (normal kill helps) and start Apache2 again.

BTW: config is rebuilded from a Apache1 system, here also cronolog is heavily
used, but never seen such problems.

Pls. help me, e.g. leading to some debug capabilities. It's no problem for me to
test some patches, because system is current still in semi-productive state.

Thanky you very much,
 Peter

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


Mime
View raw message