Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
5.13.0
-
None
-
None
Description
Hi,
We have identified the Thread Blocking during the deletion of Temporary Topic.
Scenario:
- We have a setup of Request-Reply Mode using the temporary destinations.
- 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