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 14:45:39 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 06:45 -------
So, am I correct in the assumption that the root cause of this bug is a sequence
as follows:

1. child in child_main enters the while (!die_now) loop
2. child is SIGUSR1'ed
3. listening socket, fd N is close()d
4. child calls accept or epoll_wait/whatever *on closed fd N*

and calling accept/epoll_wait/whatever on a closed fd results in undefined
behaviour and hence the process may hang.

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