[jboss-jira] [JBoss JIRA] (WFLY-12522) Memory Leak: RemoteConnectionHandler objects are created but not being freed when jboss-cli commands are executed

Jean Francois Denise (Jira) issues at jboss.org
Mon Sep 9 16:03:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781946#comment-13781946 ] 

Jean Francois Denise commented on WFLY-12522:
---------------------------------------------

Analysis shows that the root cause could be the fix for UNDERTOW-770 in particular: https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/protocol/http/HttpOpenListener.java#L152
We are in a context where the protocol is upgraded to remoting, once the upgrade is done, the connections list is never cleared.
[~swd847], [~flavia.rainone] what do you think? If I am not wrong, the list should be cleared even in the case of upgrade.


> Memory Leak: RemoteConnectionHandler objects are created but not being freed when jboss-cli commands are executed
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-12522
>                 URL: https://issues.jboss.org/browse/WFLY-12522
>             Project: WildFly
>          Issue Type: Bug
>          Components: CLI, Remoting, Web (Undertow)
>    Affects Versions: 16.0.0.Final, 17.0.0.Final, 17.0.1.Final
>            Reporter: super 6349
>            Assignee: Jean Francois Denise
>            Priority: Major
>
> When the user executes jboss-cli commands on a fresh installation of wildfly, RemoteConnectionHandler objects are created but never released. 
> We identified this problem when we configured a readiness probe on openshift using jboss-cli (repeating every 15 seconds) and the memory started to increase along the days. The application was in development and nobody was accessing it, but the memory increased nonetheless.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list