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

Queue can continue to grow after connection closes and does not appear in qpid-stat

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.18
    • Fix Version/s: None
    • Component/s: Broker-J
    • Labels:
    • Environment:

      RHEL Server 6.4, 64-bit
      Java SE 1.7.0_51 x86_64

      Description

      A (Java JMS) client disconnected from the broker. (Probably killed with a SIGTERM.) It had a queue for a topic that apparently continued to grow after the connection was closed.

      We have a cron to periodically log all queues and other broker information using qpid-stat. The next log after the client shutdown does not show the queue. However, the queue was apparently still being maintained internally by the broker and had new messages appended to it. The broker eventually ran out of memory. We have the broker JVM set up to dump its heap when there is an OutOfMemoryError exception. Examining the heap dump showed most of the memory was being used by the queue from the client that had disconnected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              David Friedman David Friedman
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: