You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Yogeshkumar More (JIRA)" <ji...@apache.org> on 2016/06/07 07:01:20 UTC
[jira] [Created] (AMQ-6313) Deadlock in Failover transport and
inactivity monitor thread
Yogeshkumar More created AMQ-6313:
-------------------------------------
Summary: Deadlock in Failover transport and inactivity monitor thread
Key: AMQ-6313
URL: https://issues.apache.org/jira/browse/AMQ-6313
Project: ActiveMQ
Issue Type: Bug
Components: Transport
Affects Versions: 5.13.0
Reporter: Yogeshkumar More
Priority: Critical
I'm suspecting a deadlock scenario in my environment. This is the client URI for connection
failover:(ssl://<host>:<port>,ssl://<host>:<port>)?randomize=false&maxReconnectAttempts=5
My application stopped responding after throwing InactivityIOException.
Stack looks like this.
{code}
"ActiveMQ Session Task-8" #45607 prio=7 os_prio=0 tid=0x00007f94f0011800 nid=0x3de7 waiting for monitor entry [0x00007f956d7f7000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:623)
- locked <0x00000000e1b89330> (a java.lang.Object)
at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
at org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:86)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1381)
at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1495)
- locked <0x00000000e1b89888> (a java.lang.Object)
{code}
{code}
"ActiveMQ InactivityMonitor Worker" #45600 daemon prio=5 os_prio=0 tid=0x00007f94e0002800 nid=0x200 waiting for monitor entry [0x00007f9575070000]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.apache.activemq.transport.failover.FailoverTransport.handleTransportFailure(FailoverTransport.java:265)
- waiting to lock <0x00000000e1b89330> (a java.lang.Object)
at org.apache.activemq.transport.failover.FailoverTransport$3.onException(FailoverTransport.java:220)
at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101)
at org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:173)
at org.apache.activemq.transport.AbstractInactivityMonitor.onException(AbstractInactivityMonitor.java:344)
at org.apache.activemq.transport.AbstractInactivityMonitor$1$1.run(AbstractInactivityMonitor.java:91)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)