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

MQTT - stackoverflow with many multicast queues

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • None
    • None
    • False
    • False
    • Undefined
    • ARTEMIS-3188

    Description

      Encountered a stackoverflow with one destination in a clustered environment, with approximately 75 multicast queues on each node:

      2021-01-08 01:24:53,610 WARN  [org.apache.activemq.artemis.core.protocol.mqtt.MQTTPublishManager] null: java.lang.StackOverflowError
      	at java.util.Collections$UnmodifiableCollection$1.<init>(Collections.java:1041) [rt.jar:1.8.0_272]
      	at java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1040) [rt.jar:1.8.0_272]
      	at org.apache.activemq.artemis.core.server.impl.QueueConsumersImpl.iterator(QueueConsumersImpl.java:115) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
      	at org.apache.activemq.artemis.core.server.impl.QueueImpl.hasMatchingConsumer(QueueImpl.java:1626) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
      	at org.apache.activemq.artemis.core.postoffice.impl.LocalQueueBinding.isHighAcceptPriority(LocalQueueBinding.java:114) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
      	at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:441) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
      	at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
      

      Attachments

        Issue Links

          Activity

            People

              csuconic@redhat.com Clebert Suconic
              rhn-support-shiggs Stephen Higgs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: