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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.0.0.Beta7
    • None
    • Management, Remoting
    • None
    • 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
    • User Experience
    • Workaround Exists
    • 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.

      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.

              dlloyd@redhat.com David Lloyd
              michael.noack Michael Noack (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: