qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-2004) On shutting down the broker, the connection state of active connections is not freed
Date Tue, 01 Jun 2010 18:59:39 GMT

    [ https://issues.apache.org/jira/browse/QPID-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874159#action_12874159

Gordon Sim commented on QPID-2004:

Following r49176 (which fixes QPID-2598), the client will also leak connections on exit as
even though the Poller thrreads are all joined, they may not complete processing after the
Poller::shutdown() call.

> On shutting down the broker, the connection state of active connections is not freed
> ------------------------------------------------------------------------------------
>                 Key: QPID-2004
>                 URL: https://issues.apache.org/jira/browse/QPID-2004
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.5
>         Environment: Linux
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>            Priority: Minor
> The IO layer (e.g. AsynchIOHandler for TCP) creates and holds a ConnectionCodec object
by pointer for each connection. All connection state is rooted in that object. However for
connections that are active when the broker is shutdown, those objects and all their internal
state, is not freed but is leaked.
> As the broker is shutting down anyway, the leak is not nice but not critical (henc I've
marked this as minor rather than major). However it can lead to e.g. Queue destructors not
being called etc. 

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

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message