qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Bonnet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1394) Creating a Container leaks two file descriptors
Date Thu, 18 May 2017 00:47:04 GMT

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

Mike Bonnet commented on PROTON-1394:

We really need this backport-able to python 2.6 and 2.7. Is a WeakMethod the only option?

> Creating a Container leaks two file descriptors
> -----------------------------------------------
>                 Key: PROTON-1394
>                 URL: https://issues.apache.org/jira/browse/PROTON-1394
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.16.0
>            Reporter: Mike Bonnet
>         Attachments: fix_container_leak.patch, leakyprotonpipes.py, new_fix_container_leak.patch
> Creating a Container (Reactor) creates a pipe (two file descriptors). This pipe is never
freed, even after the Container is stopped and goes out of scope. An application that creates
many short-lived Containers will quickly exhaust file descriptors and Container creation will
start failing.

This message was sent by Atlassian JIRA

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

View raw message