RFR: 8322420: [Linux] cgroup v2: Limits in parent nested control groups are not detected [v2]
Severin Gehwolf
sgehwolf at openjdk.org
Wed Aug 28 15:31:21 UTC 2024
On Wed, 28 Aug 2024 13:03:53 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:
> This may be known limitation (based on description). Scenario is probably uncommon in real world.
@zzambers Thanks for pointing it out. Yes, it's a current limitation. The simple condition - for now - was if there was any non-max limit we stop. This could be changed of course to walk the full hierarchy and take the absolute minimum. I'm wondering, though, has this been seen in the wild? The JDK being run in a system slice with some memory limit, yes. In a setup that does those strange configs, perhaps not so much. So far I'm inclined to keep the simpler version as that's been recommended by Kernel folks to me, keeps the complexity down and it's really a misconfigured system.
If consensus is that we need to cover this case as well, that should be possible to do - here or in a follow-up.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20646#issuecomment-2315676971
More information about the hotspot-runtime-dev
mailing list