You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/10/18 14:41:33 UTC

DO NOT REPLY [Bug 42829] - graceful restart with multiple listeners using prefork MPM can result in hung processes

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 sf@sfritsch.de  2007-10-18 05:41 -------
The patch from the bug submitter does not close the listening sockets until the
current request has been finished, therefore breaking graceful-stop behaviour.

Depending on OS and used apr_pollset_poll variant, it seems that both
apr_pollset_poll() and lr->accept_func() can block if the sockets have been
closed in the meantime. This can be mitigated by checking for die_now before
calling these two functions (though a short race condition still remains).

Maybe it would also be possible to change apr to not block if all listening
sockets in the pollset are closed.



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