Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3773

SocketServer inflightResponses collection leaks memory on client disconnect

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0, 0.9.0.1
    • Fix Version/s: 0.9.0.2
    • Component/s: core
    • Labels:
      None

      Description

      Prior to 0.10, we did not clean the inflightResponses collection maintained by each processor when a client disconnected. This causes a quickly growing memory leak since that collection maintains a reference to the pending response, which can be quite large in the case of fetches. This was fixed in KAFKA-3489 for 0.10, but we should ensure that 0.9 is patched as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hachikuji Jason Gustafson
                Reporter:
                hachikuji Jason Gustafson
                Reviewer:
                Ismael Juma
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: