-
Notifications
You must be signed in to change notification settings - Fork 157
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
TestI fails on Alpine Linux (musl libc): did not see badness 1000 or 999 in output #234
Comments
Thanks for the report. Kernel 5.9 changed the default oom_score from 0 to 666, which means that the |
Oh, really 666? I cannot wait for brainless numerologists starting freaking out from it! 🤣 |
This is pretty messy. Now writing 1000 to oom_score_adj raises oom_score by 666 points (instead of 1000 as before):
I think I will drop the |
Kernel 5.9 changed how oom_score_adj works, and I don't think this feature is worth having kernel version detection to make it work on older & newer kernels. Just drop it. Fixes #234
It's easy to understand: 666 is 1000 * 2/3. If oom_score_adj=300 than 300 * 2/3 (= 200) will be added to oom_score. It's easy to fix |
Environment:
The text was updated successfully, but these errors were encountered: