Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1394

Creating a Container leaks two file descriptors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.16.0
    • proton-c-0.18.0
    • python-binding
    • None

    Description

      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.

      Attachments

        1. fix_container_leak.patch
          2 kB
          Michel Bouwmans
        2. leakyprotonpipes.py
          0.5 kB
          Mike Bonnet
        3. new_fix_container_leak.patch
          3 kB
          Michel Bouwmans
        4. pn1394_0.patch
          7 kB
          Clifford Jansen
        5. pn1394_1.patch
          7 kB
          Clifford Jansen
        6. pn1394_2.patch
          8 kB
          Clifford Jansen

        Activity

          People

            cliffjansen Clifford Jansen
            mbonnet Mike Bonnet
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: