-
Bug
-
Resolution: Done
-
Major
-
JAVA8 1.2.0.GA
-
redhat-openjdk-18-tech-preview-openjdk18-openshift-1.2-4
Follows up on CLOUD-1185
jstat in a container built with the OpenJDK S2I Image does not work
The problem seems to be specific to openjdk image, as it is not caused by the same problem as CLOUD-1185 (there is no hsperfdata_jboss as in the other cases)
sh-4.2$ jps
Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/jboss -Duser.name=jboss
sh-4.2$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
1002970+ 1 4.3 0.3 8206112 80556 ? Ssl 16:02 0:01 java -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -XX:+UseParallelGC -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRat
1002970+ 167 0.3 0.0 11772 1728 ? Ss 16:03 0:00 /bin/sh
1002970+ 217 0.0 0.0 47448 1668 ? R+ 16:03 0:00 ps aux
sh-4.2$ jstat -gc 1
Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/jboss -Duser.name=jboss
1 not found
sh-4.2$ cd /tmp/
sh-4.2$ ls
artifacts hsperfdata_root ks-script-IBW5wd scripts src yum.log
sh-4.2$ whoami
whoami: cannot find name for user ID 1002970000
- causes
-
CLOUD-2374 Update Red Hat OpenJDK S2I container image
- Closed