activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Urciolo (JIRA)" <>
Subject [jira] [Created] (AMQCPP-487) CMS FailoverTransport Does Leaks Socket Descriptors
Date Mon, 10 Jun 2013 18:48:20 GMT
Kevin Urciolo created AMQCPP-487:

             Summary: CMS FailoverTransport Does Leaks Socket Descriptors
                 Key: AMQCPP-487
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Transports
    Affects Versions: 3.6.0
            Reporter: Kevin Urciolo
            Assignee: Timothy Bish

See the discussion by following the link below.

The FailoverTransport.cpp taskRunner includes the FailoverTransport and CloseTransports tasks.
 The FailoverTransport is added first, and appears to always be pending.  This means the taskRunner
always executes the iterate on the FailoverTransport and the CloseTransports tasks are never
run, which causes a build socket descriptors (and threads).

We worked around the issue by adding the CloseTransportsTask to the taskRunner first.  This
allows the CompositeTaskRunner to iterate the CloseTransportsTask when there is work, and
then switching back to iterating the FailoverTransport.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message