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

qd_pn_free_link_session_t objects leaking when connections are socket closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.11.0
    • 1.12.0
    • Container
    • None

    Description

      Run the attached reproducer from the build/test directory and you will see that the qd_pn_free_link_session_t numbers go up in the output of qdstat -m.

       

      [gmurthy@localhost src]$ qdstat -m  | grep qd_pn_free_link_session_t
        qd_pn_free_link_session_t  32     64     128         256     256         0          0
      [gmurthy@localhost src]$ qdstat -m  | grep qd_pn_free_link_session_t
        qd_pn_free_link_session_t  32     64     128         256     256         0          0
      [gmurthy@localhost src]$ qdstat -m  | grep qd_pn_free_link_session_t
        qd_pn_free_link_session_t  32     64     128         256     256         0         0
      [gmurthy@localhost src]$ qdstat -m  | grep qd_pn_free_link_session_t
        qd_pn_free_link_session_t  32     64     128         1,024   1,024       0          0
      [gmurthy@localhost src]$ qdstat -m  | grep qd_pn_free_link_session_t
        qd_pn_free_link_session_t  32     64     128         1,024   1,024       0          0
      [gmurthy@localhost src]$ qdstat -m  | grep qd_pn_free_link_session_t
        qd_pn_free_link_session_t  32     64     128         1,024   1,024       0          0
      [gmurthy@localhost src]$ 
      [gmurthy@localhost src]$ qdstat -m  | grep qd_pn_free_link_session_t
        qd_pn_free_link_session_t  32     64     128         1,024   1,024       0          0
      [gmurthy@localhost src]$ qdstat -m  | grep qd_pn_free_link_session_t
        qd_pn_free_link_session_t  32     64     128         1,216   1,216       0          0
      [gmurthy@localhost src]$ 
       

      Attachments

        1. test-leak-1.sh
          4 kB
          Ganesh Murthy

        Issue Links

          Activity

            People

              gmurthy Ganesh Murthy
              gmurthy Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: