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

Offline Durable Topic Subscription exceeds memory limits

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.12.0
    • Fix Version/s: 5.13.0, 5.12.2
    • Component/s: Broker
    • Labels:
      None

      Description

      To reproduce:
      1) Start two durable subscriptions using the openwire swissarmy examples:

      ant consumer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin -Dpassword=admin -Dmax 500000

      ant consumer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin -Dpassword=admin -DclientId=c2

      2) Start a producer using the following command:

      ant producer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin -Dpassword=admin -Dmax=500000

      3) Kill one of the durable topic subscribers and let the test run

      4) the broker will go OOM

      The cache for the offline durable sub is not recording is cached messages against system memory usage as it should. Hence the limits are not hit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gtully Gary Tully
                Reporter:
                gtully Gary Tully
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: