We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, systemd-udevd has oom_score_adj=-1000. If I set --prefer systemd-udevd, it will get badness=300.
systemd-udevd
oom_score_adj
--prefer systemd-udevd
badness
фев 11 21:05:09 PC earlyoom[15282]: pid 363: badness 300 vm_rss 3636 systemd-udevd фев 11 21:05:09 PC earlyoom[15282]: ^ new victim (higher badness)
I think it's not OK. We can assume that this is a critical process if it has such a low oom_score_adj value, and killing it could destroy the system.
My suggestion: Do not increase badness of processes with negative oom_score_adj. At least don't prefer processes with oom_score_adj=-1000.
The text was updated successfully, but these errors were encountered:
Hmm. We have to calculate oom_score_before_adjustment + 300 and use that. However, I don't see a way to get oom_score_before_adjustment:
oom_score_before_adjustment + 300
oom_score_before_adjustment
/proc/10269$ grep . comm oom_* comm:systemd-udevd oom_adj:-17 oom_score:0 oom_score_adj:-1000
Sorry, something went wrong.
MANPAGE: explain --prefer vs negative oom_score_adj bug
953cf95
#159
I think if a user wants to have systemd-udevd killed, we will not prevent him from doing that, but I have documented the bug as 953cf95 .
No branches or pull requests
For example,
systemd-udevd
hasoom_score_adj
=-1000.If I set
--prefer systemd-udevd
, it will getbadness
=300.I think it's not OK.
We can assume that this is a critical process if it has such a low
oom_score_adj
value, and killing it could destroy the system.My suggestion:
Do not increase badness of processes with negative
oom_score_adj
. At least don't prefer processes withoom_score_adj
=-1000.The text was updated successfully, but these errors were encountered: