Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 62309 invoked from network); 15 Jan 2007 12:44:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2007 12:44:40 -0000 Received: (qmail 24038 invoked by uid 500); 15 Jan 2007 12:44:46 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 23762 invoked by uid 500); 15 Jan 2007 12:44:45 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 23749 invoked by uid 99); 15 Jan 2007 12:44:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jan 2007 04:44:45 -0800 X-ASF-Spam-Status: No, hits=-9.2 required=10.0 tests=ALL_TRUSTED,MAILTO_TO_SPAM_ADDR,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jan 2007 04:44:38 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id 5E4FA7142B6; Mon, 15 Jan 2007 04:44:18 -0800 (PST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 41367] New: - Logging to a pipe causes hanging children when doing a graceful restart Message-ID: X-Bugzilla-Reason: AssignedTo Date: Mon, 15 Jan 2007 04:44:18 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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