You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Stefan Rijnhart (Jira)" <ji...@apache.org> on 2020/04/15 11:40:00 UTC

[jira] [Commented] (PROTON-2121) python-qpid-proton 0.28 BlockingConnection leaks connections (does not close file descriptors)

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

Stefan Rijnhart commented on PROTON-2121:
-----------------------------------------

[~jross@redhat.com] I'm excited to see an update on this ticket. Can you clarify how this is solved (code change? Fixed release version?)

> python-qpid-proton 0.28 BlockingConnection leaks connections (does not close file descriptors)
> ----------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2121
>                 URL: https://issues.apache.org/jira/browse/PROTON-2121
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: proton-c-0.28.0, proton-c-0.30.0
>            Reporter: Lukas
>            Priority: Major
>              Labels: leak
>
> Starting in proton 0.28.0 and verified in 0.29.0b1 (pre-release) I can confirm following issue:
>  
> {code:java}
> from proton.utils import BlockingConnection
> c = BlockingConnection(YOUR_ADDRESS)
> c.close()
> # ^^ FINE, all file descriptors closed properly
> from proton.utils import BlockingConnection
> c = BlockingConnection(YOUR_ADDRESS)
> s = c.create_sender(YOUR_EXCHANGE)
> s.close()
> c.close()
> # ^^ leaks the socket file descriptor - connection not closed properly (ls /proc/YOUR_PID/fd to verify){code}
>  
> Version 0.27.0 is *not* affected by this issue.
>  
> Having a quick look at the proton bindings, this very well might be bug in the qpid proton library itself, not the python bindings!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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