You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2010/06/01 20:59:39 UTC

[jira] Commented: (QPID-2004) On shutting down the broker, the connection state of active connections is not freed

    [ 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