https://bz.apache.org/bugzilla/show_bug.cgi?id=60956
--- Comment #5 from Frank Meier <frank.me...@ergon.ch> --- I've attached my test code and httpd.conf file, if anyone likes to reproduce the issue. Steps to reproduce: * start httpd with attached mod_gendata and httpd.conf * start a shell script loop showing the stacks of the httpd process and its TCP connections: ----------------------------- $ while true; do gstack "${HTTPD_PID}"; netstat -ntp | grep 127.0.0.1:10443; echo ----------; sleep 1; done ----------------------------- * start the client with the right amount of data to trigger write completion and fill up the TCP pipeline ----------------------------- $ ./openssl-test 127.0.0.1 10443 '/gendata/?nBytes=850000' 0 1000 ----------------------------- * after 60s you should see a output like this: ---------------- Thread 4 (Thread 0x7fde1d151700 (LWP 6960)): #0 0x00007fde1fb4e4ed in poll () from /lib64/libc.so.6 #1 0x00007fde20890dc3 in poll (__timeout=<optimized out>, __nfds=<optimized out>, __fds=0x7fde1d150a90) at /usr/include/bits/poll2.h:46 #2 apr_poll (aprset=aprset@entry=0x7fde1d150b30, num=num@entry=1, nsds=nsds@entry=0x7fde1d150b24, timeout=<optimized out>) at poll/unix/poll.c:120 #3 0x000055780168d8f5 in send_brigade_blocking (c=0x7fde180077b8, bytes_written=0x7fde100057e8, bb=0x7fde18007c60, s=0x7fde18007520) at core_filters.c:747 #4 ap_core_output_filter (f=0x7fde100056d8, new_bb=0x7fde18007c60) at core_filters.c:542 #5 0x00007fde1f639648 in bio_filter_out_pass (outctx=0x7fde18007c40) at ssl_engine_io.c:139 #6 0x00007fde1f63b558 in bio_filter_out_flush (bio=<optimized out>) at ssl_engine_io.c:160 #7 0x00007fde1f63b58f in bio_filter_out_ctrl (bio=<optimized out>, cmd=<optimized out>, num=<optimized out>, ptr=<optimized out>) at ssl_engine_io.c:266 #8 0x00007fde1f64b14b in modssl_smart_shutdown (ssl=ssl@entry=0x7fde1000cfe0) at ssl_util_ssl.c:145 #9 0x00007fde1f63b741 in ssl_filter_io_shutdown (c=0x7fde180077b8, abortive=abortive@entry=0, filter_ctx=0x7fde18007bc0) at ssl_engine_io.c:1023 #10 0x00007fde1f63cdf1 in ssl_io_filter_output (f=0x7fde18007c18, bb=0x7fde10006110) at ssl_engine_io.c:1691 #11 0x00007fde1f639d6a in ssl_io_filter_coalesce (f=0x7fde18007bf0, bb=0x7fde10006110) at ssl_engine_io.c:1648 #12 0x000055780169c3d3 in ap_shutdown_conn (c=c@entry=0x7fde180077b8, flush=flush@entry=0) at connection.c:88 #13 0x00007fde1f866d62 in start_lingering_close_nonblocking (cs=0x7fde18007728) at event.c:910 #14 0x00007fde1f86618c in process_timeout_queue (q=0x55780311ae98, timeout_time=timeout_time@entry=1494322580641883, func=func@entry=0x7fde1f866d10 <start_lingering_close_nonblocking>) at event.c:1509 #15 0x00007fde1f86851f in listener_thread (thd=0x5578030c9e08, dummy=<optimized out>) at event.c:1834 #16 0x00007fde20014444 in start_thread () from /lib64/libpthread.so.0 #17 0x00007fde1fb575ed in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fde1d952700 (LWP 6959)): #0 0x00007fde2001a02f in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007fde208887cd in apr_thread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at locks/unix/thread_cond.c:68 #2 0x00007fde1f86b005 in ap_queue_pop_something (queue=0x5578030c99a0, sd=0x7fde1d951e70, ecs=0x7fde1d951e78, p=0x7fde1d951e80, te_out=0x7fde1d951e88) at fdqueue.c:438 #3 0x00007fde1f86700f in worker_thread (thd=<optimized out>, dummy=<optimized out>) at event.c:1921 #4 0x00007fde20014444 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fde1fb575ed in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fde1e153700 (LWP 6958)): #0 0x00007fde2001a02f in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007fde208887cd in apr_thread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at locks/unix/thread_cond.c:68 #2 0x00007fde1f86b005 in ap_queue_pop_something (queue=0x5578030c99a0, sd=0x7fde1e152e70, ecs=0x7fde1e152e78, p=0x7fde1e152e80, te_out=0x7fde1e152e88) at fdqueue.c:438 #3 0x00007fde1f86700f in worker_thread (thd=<optimized out>, dummy=<optimized out>) at event.c:1921 #4 0x00007fde20014444 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fde1fb575ed in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fde2131f780 (LWP 6956)): #0 0x00007fde2001d0cd in read () from /lib64/libpthread.so.0 #1 0x000055780169f737 in read (__nbytes=1, __buf=0x7ffcb3cc3563, __fd=<optimized out>) at /usr/include/bits/unistd.h:44 #2 ap_mpm_podx_check (pod=<optimized out>) at mpm_unix.c:535 #3 0x00007fde1f864abb in child_main (child_num_arg=child_num_arg@entry=0, child_bucket=child_bucket@entry=0) at event.c:2368 #4 0x00007fde1f8698e5 in make_child (s=0x5578030c82d8, slot=slot@entry=0, bucket=0) at event.c:2461 #5 0x00007fde1f86997c in startup_children (number_to_start=1) at event.c:2490 #6 0x00007fde1f86a63f in event_run (_pconf=<optimized out>, plog=0x5578030cd4a8, s=0x5578030c82d8) at event.c:2857 #7 0x0000557801675f1e in ap_run_mpm (pconf=0x55780309e138, plog=0x5578030cd4a8, s=0x5578030c82d8) at mpm_common.c:94 #8 0x000055780166ef25 in main (argc=3, argv=0x7ffcb3cc3998) at main.c:783 tcp 111 0 127.0.0.1:43112 127.0.0.1:10443 ESTABLISHED 28563/./Debug/opens tcp6 0 815616 127.0.0.1:10443 127.0.0.1:43112 ESTABLISHED 6956/httpd ---------------- * the listener_thread stays in this state for another 60s, and does not handle HTTP requests anymore -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org