qpid-dev mailing list archives

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

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

Ganesh Murthy updated DISPATCH-900:
-----------------------------------
    Description: 
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.

  was:
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 top and watch the memory of the router
grow.


> 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