Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1069

memory grows on a long-lived connection when links are opened and closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Container
    • None

    Description

      The attached reproducers link-leak.c and link-leak.py open and close links repeatedly on the same connection. This causes the routers memory use to grow.

      Massif shows that the memory is due to pn_link_t and related objects. PROTON-905 describes an old bug where link information is leaked but experiments show this is not happening with modern proton.

      I suspect the growth is due to dispatch sometimes failing to call pn_link_free() but investigation is still ongoing.

      Attachments

        1. link-leak.py
          0.3 kB
          Alan Conway
        2. link-leak.c
          3 kB
          Alan Conway

        Issue Links

          Activity

            People

              aconway Alan Conway
              aconway Alan Conway
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: