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 41367] New: - Logging to a pipe causes hanging children when doing a graceful restart
Date Mon, 15 Jan 2007 12:44:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41367>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41367

           Summary: Logging to a pipe causes hanging children when doing a
                    graceful restart
           Product: Apache httpd-1.3
           Version: 1.3.34
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dave64@andrew.cmu.edu


When apache logs via a pipe to a child process (cronolog, for example) a
graceful restart will kill the cronolog process leaving any httpd processes
writing to that log pipe in a blocking write() call.  Apache leaves the read end
of the pipe open in the parent on creation, so the httpd will never receive
EPIPE on this write since there will always be a reader (itself).  This results
in many httpds stuck in 'L' state after a graceful restart.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message