Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-5585

Unexpected results when using defaultMqttSessionExpiryInterval

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • AMQ 7.8.2.GA
    • documentation
    • None
    • False
    • False

      Customer reports:

      Ran the following test scenario to test Expiration for MQTT with settings below

      <auto-delete-queues>true</auto-delete-queues>
      <auto-delete-addresses>true</auto-delete-addresses>
      <auto-delete-created-queues>true</auto-delete-created-queues>
      <auto-delete-queues-message-count>0</auto-delete-queues-message-count>
      <auto-delete-queues-delay>360000</auto-delete-queues-delay>

      Also set acceptor to delete sessions

      defaultMqttSessionExpiryInterval=360000
      • Ran test with 140,000 clients connected (35,000 per broker)
      • Stopped test
      • Let expiration complete for broker (2.5 hours)
      • Ran test again with same client load
      • Stopped test
      • Let expiration complete for broker (2.5 hours)
      • Ran test again with same client load
      • Let expiration complete for broker (2.5 hours)
      • Captured logs, heap and thread dumps

      Expectation
      After each expiration complete and test was run again, similar results should follow since all addresses, queues and messages should have expired.

      Observations
      Notification queue backed up exponentially after each test. Connections reduced after each test. While Addresses, Queues, Messages, Sessions should have expired there are remnants of data from previous test runs.

              rhn-support-jbertram Justin Bertram
              rhn-support-jbertram Justin Bertram
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: