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

Remove finished streaming connections from MessagingService

    XMLWordPrintableJSON

Details

    • 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

            pauloricardomg Paulo Motta
            pauloricardomg Paulo Motta
            Paulo Motta
            Marcus Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: