Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11854

Remove finished streaming connections from MessagingService

    Details

    • Severity:
      Normal

      Description

      When a new IncomingStreamingConnection is created, we register it in the connections map of MessagingService, but we only remove it if there is an exception while attaching the socket to the stream session.

      On nodes with SSL and large number of vnodes, after many repair sessions these old connections can accumulate and cause OOM (heap dump attached).

      The connection should be removed from the connections map after if it's finished in order to be garbage collected.

        Attachments

        1. oom.png
          246 kB
          Paulo Motta

          Activity

            People

            • Assignee:
              pauloricardomg Paulo Motta
              Reporter:
              pauloricardomg Paulo Motta
              Authors:
              Paulo Motta
              Reviewers:
              Marcus Eriksson
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: