-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
eap64-openshift:1.5
-
Cloud Sprint 32, Cloud Sprint 33, Cloud Sprint 34, Cloud Sprint 35, Cloud Sprint 36, Cloud Sprint 37
dc
~~
//enviroment variables
- name: JAVA_MAX_MEM_RATIO
value: '90' - name: JAVA_INITIAL_MEM_RATIO
value: '100'
//limits
resources:
limits:
memory: 6Gi
//image
image: 'registry.access.redhat.com/jboss-eap-6/eap64-openshift:1.5'
~~
Results:
Startup:
JAVA_OPTS: -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"/opt/eap/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms4096m -Xmx5530m -Djava.net.preferIPv4Stack=true -
Runtime output:
jboss 1 0 0 18:32 ? 00:00:00 /bin/sh /opt/eap/bin/standalone.sh -c standalone-openshift.xml -bmanagement 127.0.0.1 -b 10.129.0.9 -Djboss.node.name=eap-app-2-bx5hw -Djboss.messaging.cluster.password=lJKjp1vY
jboss 410 1 35 18:32 ? 00:00:23 /usr/lib/jvm/java-1.8.0/bin/java -D[Standalone] -server -XX:+UseCompressedOops -verbose:gc-Xloggc:/opt/eap/standalone/log/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms4096m -Xmx5530m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.logmanager,jdk.nashorn.api,com.sun.crypto.provider -Djava.awt.headless=true -Djboss.modules.policy-permissions=true -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=256m -XX:+ExitOnOutOfMemoryError -Djava.security.egd=file:/dev/./urandom -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -Xbootclasspath/p:/opt/eap/jboss-modules.jar:/opt/eap/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.20.CP/org/jboss/logmanager/main/jboss-logmanager-1.5.8.Final-redhat-1.jar:/opt/eap/modules/system/layers/base/org/jboss/logmanager/ext/main/javax.json-1.0.4.jar:/opt/eap/modules/system/layers/base/org/jboss/logmanager/ext/main/jboss-logmanager-ext-1.0.0.Alpha2-redhat-1.jar -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dorg.jboss.boot.log.file=/opt/eap/standalone/log/server.log -Dlogging.configuration=file:/opt/eap/standalone/configuration/logging.properties -jar /opt/eap/jboss-modules.jar -mp /opt/eap/modules-jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/opt/eap -Djboss.server.base.dir=/opt/eap/standalone -c standalone-openshift.xml -bmanagement 127.0.0.1 -b 10.129.0.9 -Djboss.node.name=eap-app-2-bx5hw -Djboss.messaging.cluster.password=lJKjp1vY
~~
[standalone@localhost:9999 /] /core-service=platform-mbean/type=memory:read-resource(include-runtime=true)
{
"outcome" => "success",
"result" => {
"heap-memory-usage" =>
,
"non-heap-memory-usage" =>
,
"object-name" => "java.lang:type=Memory",
"object-pending-finalization-count" => 0,
"verbose" => true
}
}
Expected Result:
Xms and Xmx should be equals since JAVA_INITIAL_MEM_RATIO is 100
- is cloned by
-
CLOUD-3217 [7.2.x] Xms and Xms are different when limits are higher than 5Gi using JAVA_MAX_MEM_RATIO and JAVA_INITIAL_MEM_RATIO
- New
-
CLOUD-3221 [7.2.x-openjdk11] Xms and Xms are different when limits are higher than 5Gi using JAVA_MAX_MEM_RATIO and JAVA_INITIAL_MEM_RATIO
- New