-
Bug
-
Resolution: Duplicate
-
P4
-
25
-
x86_64
-
linux_ubuntu
The container support in the JDK reads /proc/cgroups to decide whether the cgroup v1 or cgroup v2 controllers are enabled. But with kernel commits https://github.com/torvalds/linux/commit/1abab1ba0775036bb67c6c57945c637be644c04f and https://github.com/torvalds/linux/commit/e93d4166b40a84df83c4d5cb4c709d022808ef9b v2 controllers may be enabled but absent from /proc/cgroup. Running a kernel with these (*_V1) options disabled prevents the container support from working at all.
JDK-8346874 is a related bug report covering only the cpuset controller but the memory controller is required too and running a new kernel with CONFIG_MEMCG_V1 disabled (it's disabled by default) prevents the JDK's container support from working even though all the v2 controllers are available.
- duplicates
-
JDK-8347811 Container detection code for cgroups v2 should use cgroup.controllers
-
- Open
-
- relates to
-
JDK-8347129 cpuset cgroups controller is required for no good reason
-
- Resolved
-