Fuse Message Broker: Connection creation is not completing and threads seem to be waiting in AdvisoryBroker.fireAdvisory() method

Solution Verified - Updated -

Issue

  • after restarting the broker clients could not resume connection and from broker's thread dump we see
    "ActiveMQ Transport: tcp:///2.2.2.2:22222@61616" daemon prio=10 tid=0x0000000002953800 nid=0x577a waiting on condition [0x00007ff0ca7e5000]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)

    • parking to wait for <0x000000072f8a3490> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197)
      at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214)
      at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
      at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:66)
      at org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1312)
      at org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:838)
      at org.apache.activemq.broker.TransportConnection.dispatchSync(TransportConnection.java:799)
      at org.apache.activemq.broker.region.TopicSubscription.dispatch(TopicSubscription.java:523)
      at org.apache.activemq.broker.region.TopicSubscription.add(TopicSubscription.java:101)
      at org.apache.activemq.broker.region.policy.SimpleDispatchPolicy.dispatch(SimpleDispatchPolicy.java:48)
      at org.apache.activemq.broker.region.Topic.dispatch(Topic.java:680)
      at org.apache.activemq.broker.region.Topic.doMessageSend(Topic.java:491)
    • locked <0x0000000724a0cd60> (a org.apache.activemq.broker.region.Topic)
      at org.apache.activemq.broker.region.Topic.send(Topic.java:427)
      at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:407)
      at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:503)
      at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:311)
      at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:551)
      at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:482)
      at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:477)
      at org.apache.activemq.advisory.AdvisoryBroker.addDestinationInfo(AdvisoryBroker.java:196)
      at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217)
      at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217)
      at org.apache.activemq.broker.MutableBrokerFilter.addDestinationInfo(MutableBrokerFilter.java:223)
      at org.apache.activemq.broker.TransportConnection.processAddDestination(TransportConnection.java:474)
      at org.apache.activemq.command.DestinationInfo.visit(DestinationInfo.java:122)
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:152)
      at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
      at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
      at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:256)
      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:222)
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:204)
      at java.lang.Thread.run(Thread.java:722)
  • a lot of threads seem to be blocked during org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:551)

Environment

  • Fuse MB 5.5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content