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 42829] - graceful restart with multiple listeners using prefork MPM can result in hung processes
Date Fri, 18 Jan 2008 15:00:25 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=42829>.
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=42829





------- Additional Comments From jorton@redhat.com  2008-01-18 07:00 -------
Presuming the assumption above is correct; Stefan's patch doesn't strictly close
the race since the signal could still occur e.g. between checking die_now and
the invocation of the accept function.

To strictly close this race, I think ap_close_listeners() is going to have to
dup  something on to the listening fds which will guarantee that the accept/etc
function call has defined behaviour.   In the single-listener case this could be
a simple hack like dup2(open("/dev/null", blah), listener).  For the
multi-listener case, it means invalidating the pollset fd, which is
method-specific and will require a new APR interface.

-- 
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