Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
qpid-cpp-1.39.0
-
None
-
None
-
Linux
Description
Given the situation where we have a receiver "Receiver1" acquire 1 message from a queue "ReceiverQueue" but if the message is not acknowledged and Receiver1 process is paused using kill -STOP <pidOfReceiver1>.
Any further messages sent to ReceiverQueue is marked as DELETED even though we have another receiver "Receiver2" properly acquire messages from the queue and also sends acknowledgements, the broker memory linearly increases until all the memory in the box is used. Purger cleaning up messages does not help. Once we kill Receiver1 the broker memory stabilizes.
All of the repro steps are automated in the attached reproducer.
Please follow the steps to reproduce the issue
Step 1: tar -xf brokerMemoryIncrease.tar
Step 2: cd brokerMemoryIncrease
Step 3: ./qpidRepro.sh