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

Matthias Baesken mbaesken at openjdk.java.net
Tue Jul 27 10:28:30 UTC 2021


On Fri, 23 Jul 2021 12:32:04 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> > Could this be some setting configured on your box that is picked up as an additional limit ?
> 
> Possibly. Not sure where to look, though.

I ask some local experts about that issue.
What do you think about accepting, when setting -1/unlimited,   a high  limit number like 20.000+  as well (and and a comment that on some setups unlimited means just "high number"  but not unlimited?
Another Idea I had was to start a little test java program that creates e.g.  50.000 (or another high number) of threads. If this fails with "unilimited"  pids-limit set, we might have a setup like yours and then skip the test (or accept a high number like I suggested).

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

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


More information about the core-libs-dev mailing list