RFR: JDK-8266490: Extend the OSContainer API to support the pids controller of cgroups [v2]

Matthias Baesken mbaesken at openjdk.java.net
Fri Jul 9 11:38:56 UTC 2021


On Tue, 29 Jun 2021 08:21:51 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> This looks pretty good now. Looking forward to seeing container tests for this new code.

Hi Severin , I did some adjustments following your suggestions.
I added docker based test coding for testing pids-limit (with limits and also with unlimited value).
I noticed that on our ppc64le based Linux ,  the message "WARNING: Your kernel does not support pids limit capabilities or the cgroup is not mounted. PIDs limit discarded."   shows up , and the docker "--pids-limit"  limitation does not work because of this. 
So I had to take this into account.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4518


More information about the core-libs-dev mailing list