[ 
https://issues.apache.org/jira/browse/CASSANDRA-18725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754176#comment-17754176
 ] 

Doug Rohrer commented on CASSANDRA-18725:
-----------------------------------------

On a separate note, I've found an unrelated leak in the dtest framework in 
5.0/trunk, which needs investigation. I haven't had a ton of time to look into 
it yet but there's some kind of leak of 
{{io.netty.util.concurrent.FastThreadLocalThread}} instances which is causing 
{{InstanceClassLoader}} instances to get stuck on the heap as well.

> IsolatedJMX should not release all TCPEndpoints on instance shutdown
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-18725
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18725
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest/java
>            Reporter: Doug Rohrer
>            Assignee: Doug Rohrer
>            Priority: Normal
>             Fix For: 3.11.x, 4.0, 4.1.x, 5.0, 5.1
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> In the original implementation of the JMX feature, we fixed some memory leaks 
> by clearing some internal state in Java’s TCPEndpoint. However, that 
> implementation was overly aggressive and cleared the whole map, vs. just 
> removing the endpoints created by the individual instances. This causes 
> issues when you remove a node from the cluster (as all of the endpoints are 
> cleared, not just the ones in use by that instance).
>  
> In stead, we should check if the endpoint was created by the instance in 
> question and only remove it if it was.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to