Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-974

Cli calls leak memory in Host Controller when reading children names in domain mode

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.0.Beta7
    • Component/s: Management, Remoting
    • Labels:
      None
    • Environment:
    • Steps to Reproduce:
      Hide
      • Download wildfly-9.0.0.Final.zip
      • Unpack
      • Create a management user
      • Start wildfly using bin/domain.sh
      • Call the script bin/jboss-cli.sh with the command :read-children-names(child-type=host) time and time again, example:
        while true; do jboss-cli.sh --connect --user="myuser" --password="mypassword" --command=":read-children-names(child-type=host)" && sleep 2; done
      • Monitor the jvm and see lots of space taken in eden, propagated to old gen by gc and never getting collected from there
      Show
      Download wildfly-9.0.0.Final.zip Unpack Create a management user Start wildfly using bin/domain.sh Call the script bin/jboss-cli.sh with the command :read-children-names(child-type=host) time and time again, example: while true; do jboss-cli.sh --connect --user="myuser" --password="mypassword" --command=":read-children-names(child-type=host)" && sleep 2; done Monitor the jvm and see lots of space taken in eden, propagated to old gen by gc and never getting collected from there
    • Affects:
      User Experience
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Use -Djboss.remoting.pooled-buffers=false on the command line to disable the byte buffer pooling.

      Show
      Use -Djboss.remoting.pooled-buffers=false on the command line to disable the byte buffer pooling.

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dmlloyd David Lloyd
                  Reporter:
                  michael.noack Michael Noack
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: