-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.5.2, 1.6.0
-
None
-
False
-
False
-
Undefined
-
Summary of the issue:
The java based containers, standard-controller, address-space-controller set the env variable JAVA_OPTS to -verbose:gc. This setting is ineffective - the setting does not get passed to the JVM. As a a result no GC logging occurs, which was the intention.
docker run -it --rm registry.access.redhat.com/amq7/amq-online-1-standard-controller:1.6-5 /bin/bash
[jboss@342307e5d243 ~]$ export JAVA_OPTS=-verbose:gc
[jboss@342307e5d243 ~]$ /opt/run-java/java-default-options
-XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError
[jboss@342307e5d243 ~]$ vi /opt/run-java/java-default-options
What triage steps have been taken so far?:
What logs have been reviewed (attach them?):
What is the Namespace/Pod?: