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/02 16:54:48 UTC
DO NOT REPLY [Bug 43081] - Event MPM doesn't respect graceful-stop
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=43081>.
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=43081
------- Additional Comments From serai@lans-tv.com 2007-10-02 07:54 -------
2.2.x
config:
StartServers 1
MaxClients 2
MinSpareThreads 1
MaxSpareThreads 2
ThreadsPerChild 2
MaxRequestsPerChild 0
Timeout 6000
On this config there are two worker threads.
Make two workers busy.
(e.g. start two telnet and request
GET / HTTP/1.1
Host: localhost
X-DUMMY: foo
and leave it)
Listener thread is waiting for new connections and/or new requests from keep-
alive on apr_pollset_poll
#2 0x0016dc28 in apr_pollset_poll (pollset=0x8e8a218, timeout=1000,
num=0xb574b35c, descriptors=0xb574b360)
at /home/saki/httpd-2.2.4/srclib/apr/poll/unix/epoll.c:239
#3 0x0808fffd in listener_thread (thd=0x8e80400, dummy=0x8eae550)
at /home/saki/httpd-2.2.x/server/mpm/experimental/event/event.c:894
If you perform a graceful-stop now, the listener thread will stop listening
immediately.
Make one more connection.
(e.g. access from your webbrowser)
The listener thread is waiting for a idle worker.
#3 0x08093091 in ap_queue_info_wait_for_idler (queue_info=0x8e802f0)
at /home/saki/httpd-2.2.x/server/mpm/experimental/event/fdqueue.c:157
#4 0x0808fcfd in get_worker (have_idle_worker_p=0xb574b364)
at /home/saki/httpd-2.2.x/server/mpm/experimental/event/event.c:773
#5 0x080903d4 in listener_thread (thd=0x8e80400, dummy=0x8eae550)
at /home/saki/httpd-2.2.x/server/mpm/experimental/event/event.c:912
Even if you perform a graceful-stop now, the listener thread won't stop
listening.
$ ./apachectl graceful-stop && ./apachectl start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
$./apachectl start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
--
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