qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-900) Memory leak when repeatedly opening and closing connections
Date Wed, 13 Dec 2017 21:59:00 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16290000#comment-16290000
] 

ASF GitHub Bot commented on DISPATCH-900:
-----------------------------------------

GitHub user ganeshmurthy opened a pull request:

    https://github.com/apache/qpid-dispatch/pull/235

    DISPATCH-900 - Fixed memory leak caused by adding new connection REMO…

    …VE events to event list. Removed ConnectionEntity since it is not being used anymore

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-900

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-dispatch/pull/235.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #235
    
----
commit e54080d6797fff98cc2d0c2cf9451040572a18ec
Author: Ganesh Murthy <gmurthy@redhat.com>
Date:   2017-12-13T21:56:05Z

    DISPATCH-900 - Fixed memory leak caused by adding new connection REMOVE events to event
list. Removed ConnectionEntity since it is not being used anymore

----


> Memory leak when repeatedly opening and closing connections
> -----------------------------------------------------------
>
>                 Key: DISPATCH-900
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-900
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.0.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>             Fix For: 1.0.0
>
>
> Steps to reproduce - 
> 1. Start the router with the default config file
> 2. Run the following python program which simply opens and closes connections.
> {noformat}
> from proton.utils import BlockingConnection
> URL = '0.0.0.0:5672'
> continue_loop = True
> while continue_loop:
>     connection = BlockingConnection(url=URL, ssl_domain=None)
>     print 'Creating connection'
>     connection.close()
> {noformat}
> 3. While the above python program is running, start up the *top* program and watch the
memory of the router grow.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message