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

Connection is taking a long time to close warning and hung close thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.5.0
    • 5.6.0
    • Transport
    • None

    Description

      Info message in the log:

      The connection to 'XXX' is taking a long time to shutdown.

      thread dump reveals call to stop from start without a relevant state change:

      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)

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: