[jira] [Commented] (DISPATCH-1979) [http2] router crash when testing with k6 grpc performance testing tool

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (DISPATCH-1979) [http2] router crash when testing with k6 grpc performance testing tool

Ganesh Murthy (Jira)

    [ https://issues.apache.org/jira/browse/DISPATCH-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17291145#comment-17291145 ]

ASF GitHub Bot commented on DISPATCH-1979:
------------------------------------------

ganeshmurthy opened a new pull request #1057:
URL: https://github.com/apache/qpid-dispatch/pull/1057


   …n case it arrives before credit is available to send the message. Also code to create new nghttp2 session when a new connection is opened.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


> [http2] router crash when testing with k6 grpc performance testing tool
> ------------------------------------------------------------------------
>
>                 Key: DISPATCH-1979
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1979
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Protocol Adaptors
>    Affects Versions: 1.15.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>         Attachments: perftest.js, qdrouterd.conf
>
>
> Use the attached router config file to start the router
> download and install the k6 grpc testing tool
> launch the attached javascript file using the following command -
> {noformat}
> k6 run --vus 500 --duration 120s perftest.js {noformat}
>  
> The router will crash with the following backtrace -
> {noformat}
> (gdb) bt
> #0  0x00007fd3a5e62216 in sys_atomic_add (value=1, ref=0x18) at /home/gmurthy/opensource/qpid-dispatch/include/qpid/dispatch/atomic.h:80
> #1  sys_atomic_inc (ref=0x18) at /home/gmurthy/opensource/qpid-dispatch/include/qpid/dispatch/atomic.h:209
> #2  qdr_delivery_incref (delivery=delivery@entry=0x0, label=label@entry=0x7fd3a5ea4268 "qdr_delivery_continue - add to action list") at /home/gmurthy/opensource/qpid-dispatch/src/router_core/delivery.c:109
> #3  0x00007fd3a5e62514 in qdr_delivery_continue (core=0x24ed6e0, in_dlv=0x0, settled=settled@entry=false) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/delivery.c:220
> #4  0x00007fd3a5e90a0b in on_frame_recv_callback (session=<optimized out>, frame=0x2649aa8, user_data=0x25c1f90) at /home/gmurthy/opensource/qpid-dispatch/src/adaptors/http2/http2_adaptor.c:1001
> #5  0x00007fd3a599dfa1 in session_call_on_frame_received (frame=0x2649aa8, session=0x2649910) at /home/gmurthy/opensource/nghttp2/lib/nghttp2_session.c:3295
> #6  session_after_header_block_received (session=0x2649910) at /home/gmurthy/opensource/nghttp2/lib/nghttp2_session.c:3796
> #7  nghttp2_session_mem_recv (session=0x2649910, in=0x7fd38cb9a561 "", in@entry=0x7fd38cb9a4d4 "", inlen=429) at /home/gmurthy/opensource/nghttp2/lib/nghttp2_session.c:6230
> #8  0x00007fd3a5e93d7e in handle_incoming_http (conn=0x25c1f90) at /home/gmurthy/opensource/qpid-dispatch/src/adaptors/http2/http2_adaptor.c:1934
> #9  handle_connection_event (e=<optimized out>, qd_server=<optimized out>, context=0x25c1f90) at /home/gmurthy/opensource/qpid-dispatch/src/adaptors/http2/http2_adaptor.c:2337
> #10 0x00007fd3a5e86961 in handle_event_with_context (context=<optimized out>, qd_server=<optimized out>, e=<optimized out>) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:804
> #11 do_handle_raw_connection_event (qd_server=<optimized out>, e=<optimized out>) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:810
> #12 handle (qd_server=qd_server@entry=0x246dd30, e=e@entry=0x24c3da0, pn_conn=pn_conn@entry=0x0, ctx=ctx@entry=0x0) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1090
> #13 0x00007fd3a5e87f14 in thread_run (arg=0x246dd30) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1122
> #14 0x00007fd3a5d5a3f9 in start_thread () from /lib64/libpthread.so.0
> #15 0x00007fd3a58c4903 in clone () from /lib64/libc.so.6 {noformat}



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

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