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] Resolved: (QPID-2004) On shutting down the broker, the connection state of active connections is not freed
Date Tue, 01 Jun 2010 19:09:36 GMT

     [ https://issues.apache.org/jira/browse/QPID-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gordon Sim resolved QPID-2004.
------------------------------

    Resolution: Fixed

This is now fixed on the broker and on linux clients. There is still a leak on windows clients
as the poller threads are terminated before the IOThread destructor is called, therefore the
poller is not shutdown cleanly.

> 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


Mime
View raw message