Qpid
  1. Qpid
  2. QPID-4714

AMQConnection close can leak socket connections if exceptions occur earlier in the process

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20
    • Fix Version/s: 0.22
    • Component/s: Java Client
    • Labels:
      None

      Description

      If any of the operations throws an exception before the call to _delegate.closeConnection(timeout); then we will leak socket connections.

      I already see this happening when running performance tests, where session/connection close operations are timing out. The number of connections keeps growing.

        Activity

        Rajith Attapattu created issue -
        Robbie Gemmell made changes -
        Field Original Value New Value
        Summary AMQConnection close is leaking socket connections AMQConnection close can leak socket connections if exceptions occur earlier in the process
        Rajith Attapattu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.22 [ 12324272 ]
        Fix Version/s Future [ 12315490 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Rajith Attapattu
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development