Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8462

Qpid broker memory increases when a receiver is paused with message pending acks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • qpid-cpp-1.39.0
    • None
    • C++ Broker
    • 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

       

      Attachments

        1. brokerMemoryIncrease.tar
          20 kB
          KALYANARAMAN SIVARAMAN

        Activity

          People

            Unassigned Unassigned
            kalyasi KALYANARAMAN SIVARAMAN
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: