Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12561

Fabric Hawtio display a wrong value of JVM settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • jboss-fuse-6.3, fuse-6.3-R13-GA
    • Fabric8 v1
    • None
    • % %

      Fabric Hawtio display a wrong value of JVM settings

      As you can see from the following curl output, the value of Xmx is 256mb

      curl -s -H "Authorization: $HAWTIO_API_BASIC_AUTH" 'https://esbfuse2-karaf:9184/jolokia/exec/io.fabric8:type=Fabric/getContainer(java.lang.String,java.util.List)/cnt-01-customer-esb-customer-events-router/\["metadata","id"\]' | jq .value.metadata.createOptions.jvmOpts
      "-Xms256m -Xmx256m -javaagent:/opt/fuse1p/agent/jmx_prometheus_javaagent-0.11.1-SNAPSHOT.jar=9520:/opt/fuse1p/agent/agent-jmx-prom.yml"
      

      However the right value is 1024mb, if we send the request to another fabric node:

       curl -s -H "Authorization: $HAWTIO_API_BASIC_AUTH" 'https://esbfuse1-karaf:9184/jolokia/exec/io.fabric8:type=Fabric/getContainer(java.lang.String,java.util.List)/cnt-01-customer-esb-customer-events-router/\["metadata","id"\]' | jq .value.metadata.createOptions.jvmOpts
      "-Xms1024m -Xmx1024m -javaagent:/opt/fuse1p/agent/jmx_prometheus_javaagent-0.11.1-SNAPSHOT.jar=9520:/opt/fuse1p/agent/agent-jmx-prom.yml"
      

              ggrzybek Grzegorz Grzybek
              rhn-support-aboucham Abel Bouchama
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: