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

ActiveMQConnection.deleteTempDestination() is not resumed after the AMQ restart but ActiveMQSession.send() resumed properly.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.13.0
    • Fix Version/s: None
    • Component/s: Transport
    • Labels:
      None

      Description

      Hi,

      We have identified the Thread Blocking during the deletion of Temporary Topic.

      Scenario:

      1. We have a setup of Request-Reply Mode using the temporary destinations. 
      2. The Server hit No space memory and ActiveMQ is also stuck with that. During this time the broker also fails to connect with the client. Checked the Threads. Both .send() and delete() was waiting for the connection. It was stuck ar .syncSendpacket(). ( Expected Behavior-No problem)

      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
      at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:403)
      at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:48)
      at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:87)
      at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1381)

        3.  We have restarted our ActiveMQ then after few minutes . The AMQ is reconnected successfully. Then We have found that the thread blocking again. The thread dump revelas that .deleteTempDestination is still waiting for the connection while .send() is resumed properly when it is reconnected with the broker. (Problem)

      Broker URI : failover:(nio://localhost:61616?wireFormat.maxInactivityDuration=120000)

      Kindly help me regarding this scenario. Am i missing something here.

      Thanks in advance.

       

      Regards,

      Prakasam

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prakasam19.psg@gmail.com Prakasam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: