Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
proton-c-0.33.0, proton-c-0.35.0, proton-c-0.34.0, proton-c-0.36.0
-
None
-
None
Description
While testing various AMQP session size limitations on the Qpid dispatch router I was able to cause a proton-c client to pin the CPU at 100% while in pn_buffer_rotate().
This appears to be caused by lowering the incoming session window to a point where session flow control activates. In the case of my reproducer I'm setting the window size to approx 600 16K frames ~9.8MB. The client is sending ~1MB messages with a credit window of 250.
See the attached flamegraphs of the sending client:
First - this is baseline, no session limit (default provided by proton):
This flamegraph shows the client's behavior with a session limit of 9.8MB:
See comment for reproducer.
Attachments
Attachments
Issue Links
- is depended upon by
-
PROTON-2321 Add benchmark for pn_data_t initialization (PROTON-2229)
- Closed