New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8253714: [cgroups v2] Soft memory limit incorrectly using memory.high #381
Conversation
@bobvandette Could you please take a look? Thanks! |
|
Note that due to JDK-8253727 not all tests are passing with newer crun runtime (0.8 was last working for me). |
Webrevs
|
5d86d60
to
25d131d
Compare
All cgroups v2 container tests pass with #384 and this one on |
I just verified that using --memory-reservation using my crun version 0.11.42 does result in memory.low being set to the reservation value. |
@jerboaa This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 21 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
Thanks for the review, Andrew! |
/summary This bug has been fixed in later crun versions, starting with |
@jerboaa Setting summary to:
|
/integrate |
@jerboaa Since your change was applied there have been 21 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit ff6843c. |
Tests using
--memory-reservation
started to fail with newercrun
cgroups v2-capable runtime. It turns out it was incorrectly settingmemory.high
in an early version and got fixed to setmemory.low
now instead. This change accounts for that.Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/381/head:pull/381
$ git checkout pull/381