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

SocketServer inflightResponses collection leaks memory on client disconnect

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0.0, 0.9.0.1
    • 0.9.0.2
    • core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment