Ganesh Murthy created DISPATCH-1998:
---------------------------------------
Summary: [tcp] Running the "hey" tool (http over tcp) throws a
timeout error
Key: DISPATCH-1998
URL: https://issues.apache.org/jira/browse/DISPATCH-1998
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]
Output of the hey tool (see the end of the output)
{noformat}
Summary:
Total: 21.5566 secs
Slowest: 0.0545 secs
Fastest: 0.0004 secs
Average: 0.0011 secs
Requests/sec: 1685.0958
Total data: 202106736 bytes
Size/request: 5564 bytesResponse time histogram:
0.000 [1] |
0.006 [36127] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
0.011 [180] |
0.017 [10] |
0.022 [1] |
0.027 [0] |
0.033 [0] |
0.038 [0] |
0.044 [0] |
0.049 [3] |
0.054 [2] |
Latency distribution:
10% in 0.0006 secs
25% in 0.0007 secs
50% in 0.0009 secs
75% in 0.0012 secs
90% in 0.0019 secs
95% in 0.0025 secs
99% in 0.0047 secsDetails (average, fastest, slowest):
DNS+dialup: 0.0000 secs, 0.0004 secs, 0.0545 secs
DNS-lookup: 0.0000 secs, 0.0000 secs, 0.0000 secs
req write: 0.0000 secs, 0.0000 secs, 0.0024 secs
resp wait: 0.0009 secs, 0.0003 secs, 0.0523 secs
resp read: 0.0002 secs, 0.0000 secs, 0.0088 secsStatus code distribution:
[200] 36324 responsesError distribution:
[1] Get "http://127.0.0.1:9000/index.html": context deadline exceeded
(Client.Timeout exceeded while awaiting headers) {noformat}
Looking at the router INFO log, you see -
{noformat}
2021-03-10 10:16:31.888778 -0500 ROUTER_CORE (info) [C122][L243] Stuck
delivery: At least one delivery on this link has been undelivered/unsettled for
more than 10 seconds
2021-03-10 10:16:31.889002 -0500 ROUTER_CORE (info) [C122][L244] Stuck
delivery: At least one delivery on this link has been undelivered/unsettled for
more than 10 seconds
2021-03-10 10:16:31.889136 -0500 ROUTER_CORE (info) [C123][L245] Stuck
delivery: At least one delivery on this link has been undelivered/unsettled for
more than 10 seconds
2021-03-10 10:16:31.889281 -0500 ROUTER_CORE (info) [C123][L246] Stuck
delivery: At least one delivery on this link has been undelivered/unsettled for
more than 10 seconds
{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]