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/25 00:52:13 UTC
DO NOT REPLY [Bug 43696] New: - race condition when trying to shutdown httpd immediately after starting it
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=43696>.
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=43696
Summary: race condition when trying to shutdown httpd immediately
after starting it
Product: Apache httpd-2
Version: 2.2.3
Platform: All
OS/Version: other
Status: NEW
Keywords: PatchAvailable
Severity: normal
Priority: P2
Component: prefork
AssignedTo: bugs@httpd.apache.org
ReportedBy: arun@shme.net
This was first noticed while using httpd 2.2.3 on Solaris SPARC, but the bug is
still present in httpd 2.2.6 and could surface on any platform using prefork.
The issue is that the signal handlers are installed before the restart_pending
and shutdown_pending variables are initialized. If httpd receives SIGTERM while
child processes are being spawned, it will be completely ignored. The following
two commands, one immediately called after the other, can reproduce the situation:
httpd -k start
httpd -k stop
--
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
DO NOT REPLY [Bug 43696] - race condition when trying to shutdown httpd immediately after starting it
Posted by bu...@apache.org.
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=43696>.
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=43696
------- Additional Comments From arun@shme.net 2007-10-24 15:53 -------
Created an attachment (id=21040)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=21040&action=view)
patch to prefork.c
--
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