-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
jboss-fuse-6.3, fuse-6.3-R13-GA
-
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"