[jboss-jira] [JBoss JIRA] (WFLY-4881) Cli calls leak memory in Host Controller when reading children names in domain mode

Brian Stansberry (JIRA) issues at jboss.org
Wed Jul 8 16:45:04 EDT 2015


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

Brian Stansberry commented on WFLY-4881:
----------------------------------------

Thanks, Michael, for the report!

Preliminary indication is org.xnio.ByteBufferSlicePool is leaking itself to its 'localQueueHolder' ThreadLocal.

A ByteBufferSlicePool gets allocated each time a channel is opened; i.e. once per loop iteration in the "Steps to reproduce" script.

> Cli calls leak memory in Host Controller when reading children names in domain mode
> -----------------------------------------------------------------------------------
>
>                 Key: WFLY-4881
>                 URL: https://issues.jboss.org/browse/WFLY-4881
>             Project: WildFly
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 8.1.0.Final, 8.2.0.Final, 9.0.0.Final
>         Environment: CentOS 6.5:
> # java -version
> java version "1.7.0_79"
> OpenJDK Runtime Environment (rhel-2.5.5.2.el7_1-x86_64 u79-b14)
> OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
> CentOS 7.0:
> # java -version
> java version "1.7.0_80"
> Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
>            Reporter: Michael Noack
>            Assignee: Brian Stansberry
>            Priority: Critical
>         Attachments: host-controller-jvm.png
>
>
> Calling the cli using the command:
> {{jboss-cli.sh --connect  --user="myuser" --password="mypassword" --command=":read-children-names(child-type=host)"}}
> leaks memory to old gen. Eventually the host controller goes OOM if called to often.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list