Ganesh Murthy created DISPATCH-1999:
---------------------------------------

             Summary: [tcp] Occasional Router hang when testing http over tcp 
using the "hey" tool 
                 Key: DISPATCH-1999
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1999
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Protocol Adaptors
    Affects Versions: 1.15.0
            Reporter: Ganesh Murthy


To reproduce -
 # Start the router with the attached config
 # run the hey tool - ./hey_linux_amd64 -c 5 -z 10s 
[http://127.0.0.1:9000/index.html]
 # Wait for the hey test to finish. It might take about about 30 to 60 seconds 
to finish.
 # Press Ctrl + C to terminate the router
 # The router does not terminate. The output of pstack is as follows

{noformat}
[gmurthy@localhost build]$ pstack 3833922
Thread 2 (Thread 0x7f308cc01640 (LWP 3833932) "qdrouterd"):
#0  0x00007f309f7936c2 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
#1  0x00007f309fe78240 in sys_cond_wait (cond=0x60a000000d40, 
held_mutex=0x60a000000e00) at 
/home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:92
#2  0x00007f309ff5cb0b in router_core_thread (arg=0x61a000048080) at 
/home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core_thread.c:221
#3  0x00007f309fe786ee in _thread_init (arg=0x60300003acc0) at 
/home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172
#4  0x00007f309f78d3f9 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f309e96d903 in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f309ded8380 (LWP 3833922) "qdrouterd"):
#0  0x00007f309fda96c2 in handle_connection_event (e=0x60600014e710, 
qd_server=0x60f0000008b0, context=0x616000112c10) at 
/home/gmurthy/opensource/qpid-dispatch/src/adaptors/tcp_adaptor.c:633
#1  0x00007f309ffeafd4 in handle_event_with_context (e=0x60600014e710, 
qd_server=0x60f0000008b0, context=0x616000112c10) at 
/home/gmurthy/opensource/qpid-dispatch/src/server.c:804
#2  0x00007f309ffeb015 in do_handle_raw_connection_event (e=0x60600014e710, 
qd_server=0x60f0000008b0) at 
/home/gmurthy/opensource/qpid-dispatch/src/server.c:810
#3  0x00007f309ffef864 in handle (qd_server=0x60f0000008b0, e=0x60600014e710, 
pn_conn=0x0, ctx=0x0) at 
/home/gmurthy/opensource/qpid-dispatch/src/server.c:1090
#4  0x00007f309ffefb25 in thread_run (arg=0x60f0000008b0) at 
/home/gmurthy/opensource/qpid-dispatch/src/server.c:1122
#5  0x00007f309fff6e0d in qd_server_run (qd=0x60c000000040) at 
/home/gmurthy/opensource/qpid-dispatch/src/server.c:1484
#6  0x00000000004026f9 in main_process (config_path=0x7ffe7d076635 
"http-over-tcp.conf", python_pkgdir=0x405820 
"/home/gmurthy/opensource/qpid-dispatch/install/lib/qpid-dispatch/python", 
test_hooks=false, fd=2) at 
/home/gmurthy/opensource/qpid-dispatch/router/src/main.c:113
#7  0x0000000000404579 in main (argc=3, argv=0x7ffe7d075228) at 
/home/gmurthy/opensource/qpid-dispatch/router/src/main.c:367
 {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to