You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2011/08/03 12:22:27 UTC

[jira] [Resolved] (AMQ-3435) Connection is taking a long time to close warning and hung close thread

     [ https://issues.apache.org/jira/browse/AMQ-3435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-3435.
-----------------------------

    Resolution: Fixed

fix in http://svn.apache.org/viewvc?rev=1153419&view=rev


> Connection is taking a long time to close warning and  hung close thread
> ------------------------------------------------------------------------
>
>                 Key: AMQ-3435
>                 URL: https://issues.apache.org/jira/browse/AMQ-3435
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.5.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.6.0
>
>
> Info message in the log: {code}The connection to 'XXX' is taking a long time to shutdown.{code}
> thread dump reveals call to stop from start without a relevant state change:{code}INFO   | jvm 1    | 2011/07/25 13:42:01 |    java.lang.Thread.State: TIMED_WAITING (parking)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at sun.misc.Unsafe.park(Native Method)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | - parking to wait for <0x00002aaab557eee8> (a java.util.concurrent.CountDownLatch$Sync)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:947)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1339)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:253)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at org.apache.activemq.broker.TransportConnection.stop(TransportConnection.java:936)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:920)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at org.apache.activemq.broker.TransportConnector$1$1.run(TransportConnector.java:217)
> INFO   | jvm 1    | 2011/07/25 13:42:01 | at java.lang.Thread.run(Thread.java:619){code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira