activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norbert Kiesel (JIRA)" <>
Subject [jira] Created: (AMQ-1483) unsuccessful NetworkConnector connections leak threads
Date Thu, 01 Nov 2007 03:34:23 GMT
unsuccessful NetworkConnector connections leak threads

                 Key: AMQ-1483
             Project: ActiveMQ
          Issue Type: Bug
          Components: Connector
    Affects Versions: 4.1.1
            Reporter: Norbert Kiesel

I have a pair of (embedded) brokers connected via a NetworkConnector:
      <networkConnector name="secondary" uri="static://(ssl://" networkTTL="5"

When the receiving broker is not running, the sender tries to reconnect every 5 seconds. 
While doing that, it leaks threads (seems like about 2 threads per minute). Checking with
jconsole, all hanging threads are doing:

Name: JMX server connection timeout 85
State: TIMED_WAITING on [I@38f04c
Total blocked: 0  Total waited: 143

Stack trace: 
java.lang.Object.wait(Native Method)

The threads that are created every 5 seconds look like this in jconsole:

Name: Thread-2060
State: TIMED_WAITING on java.lang.Object@a06577
Total blocked: 0  Total waited: 1

Stack trace: 
java.lang.Object.wait(Native Method)

If that issue is fixed in 5.0: can someone please tell me if/how that fix can be backported
to 4.1.1?


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message