1 Reply Latest reply on Jan 16, 2012 9:58 AM by Gary Tully

    ActiveMQ : potential hang with failover, deadlock pending dispatch with AMQ

    jagadeesh k Newbie

      We still see the threads stuck in socketWrite both on the broker and clients, during the failover. And the failover is not successful. And these sockets were not released till we recycle the broker and client.

       

      We are using AMQ 5.4.2 and for performance perspective, we are using Straight through Session Consumption ie, alwaysSessionAsync set to false. But this is not an issue when we set alwaysSessionAsync to true.

       

      From the jira items, viz https://issues.apache.org/jira/browse/AMQ-2693 we notice that this socketWrite issue has been resolved in 5.4. But it isnt the case. The issue is highly repeatable. In the attachment, i had the thread dump on both the broker as well as the clients connected to it. Let me know in case you need more details.