Qpid
  1. Qpid
  2. QPID-2636

disconnect() callback on broker results in leaked connections

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      E.g. run qpid-perftest --size 10 --count 10000 --nsubs 500 --npubs 500 and then kill the client process while running. Then run qpid-stat -c. This often results in connections not being properly deleted (and still being reported by qpid-stat).

        Activity

        Hide
        Gordon Sim added a comment -

        The leaks appear to correspond to the occasions when the disconnect() rather than eof() callback path is followed. The queueWriteClose() is then invoked on a handle that never becomes writable and thus socketClosed() is never called.

        Show
        Gordon Sim added a comment - The leaks appear to correspond to the occasions when the disconnect() rather than eof() callback path is followed. The queueWriteClose() is then invoked on a handle that never becomes writable and thus socketClosed() is never called.

          People

          • Assignee:
            Gordon Sim
            Reporter:
            Gordon Sim
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development