-
Bug
-
Resolution: Fixed
-
P3
-
8u144, 9, 10
-
b01
Issue JDK-8179498 resolved the problem of connecting to a Java process running inside of Docker containers but an issue still remains when trying to run jcmd -l to list all Java processes running on a Linux system.
The problem stems from the fact that jcmd -l looks in /tmp to locate running java processes. Since /tmp inside of a container is not directly visible to the host, these processes are not located.
A potential solution is to look in /proc/*/root/tmp for the hsperf* files.
The problem stems from the fact that jcmd -l looks in /tmp to locate running java processes. Since /tmp inside of a container is not directly visible to the host, these processes are not located.
A potential solution is to look in /proc/*/root/tmp for the hsperf* files.
- relates to
-
JDK-8205992 jhsdb cannot attach to Java processes running in Docker containers
-
- Resolved
-
-
JDK-8195809 [TESTBUG] jps and jcmd -l support for containers is not tested
-
- Resolved
-
-
JDK-8222043 [TESTBUG] Create JCMD tests for Docker and JFR
-
- Open
-
-
JDK-8179498 attach in linux should be relative to /proc/pid/root and namespace aware
-
- Resolved
-
There are no Sub-Tasks for this issue.