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

InstanceClassLoader leak in 5.0/trunk

    XMLWordPrintableJSON

Details

    • Degradation - Resource Management
    • Normal
    • Normal
    • User Report
    • All
    • None
    • Hide

      Run ResourceLeakTest#looperTest after increasing the number of loops to 100 - without the patch, this will fail on 5.0 and trunk long before you get to 100 iterations.

      With the patch, it should reach 100.

      Show
      Run ResourceLeakTest#looperTest after increasing the number of loops to 100 - without the patch, this will fail on 5.0 and trunk long before you get to 100 iterations. With the patch, it should reach 100.

    Description

      Something in the 5.0/trunk branches has caused an in-jvm dtest InstanceClassLoader leak - it appears to have something to do with the Mutual TLS Authenticator (f078c02cb58bddd735490b07548f7352f0eb09aa) but nothing in that commit, so far, has stood out as causing issues.

      The culprit class appears to be io.netty.util.internal.InternalThreadLocalMap, which seems to no be removed when the threads stops for some reason.

      Attachments

        1. trunk_ThreadLocal_leak.patch
          1 kB
          Doug Rohrer

        Issue Links

          Activity

            People

              drohrer Doug Rohrer
              drohrer Doug Rohrer
              Doug Rohrer
              Francisco Guerrero, Jon Meredith
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h