Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3460

Messages get stuck in the queue for some client sessions, "Dispatched Queue" grows but "Dequeues" doesn't move

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 5.3.1
    • AGING_TO_DIE
    • Broker
    • None
    • java version "1.5.0_15"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_15-b04, mixed mode)

    Description

      We experience the following problem.

      There's 1 sender thread and 20 listener threads operating on the same queue.
      No other queues are involved.

      Message traffic goes generally OK via the queue, however Number of pending messages goes up one by one.

      Looking at the active customers list, the following appears (see attached screenshot).
      For all sessions but two, the messages are dispatched properly.
      For these two affected sessions, the "Dispatched Queue" value gots stuck at certain moment and doesn't deliver anymore.

      Eventually, more sessions got affected, and maybe after some hours, the stuck messages got delivered.

      What we tried - adding useCache="false" into <policyEntry queue=">" ... > tag. Didn't have any effect.

      Attachments

        1. acmq01.png
          120 kB
          Timur Evdokimov
        2. acmq02.png
          49 kB
          Timur Evdokimov

        Activity

          People

            Unassigned Unassigned
            timur1024 Timur Evdokimov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: