Skip to content

Commit

Permalink
update readme: electron oom_score_adj
Browse files Browse the repository at this point in the history
  • Loading branch information
hakavlad authored and rfjakob committed Feb 28, 2019
1 parent 2391f96 commit 77ea74a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -62,7 +62,8 @@ victims (see below).
Why not trigger the kernel oom killer?
--------------------------------------
Earlyoom does not use `echo f > /proc/sysrq-trigger` because [the Chrome people made
their browser always be the first (innocent!) victim by setting `oom_score_adj`
their browser (and all electron-based apps - vscode, skype, discord etc) always be
the first (innocent!) victim by setting `oom_score_adj`
very high]( https://code.google.com/p/chromium/issues/detail?id=333617).
Instead, earlyoom finds out itself by reading through `/proc/*/status`
(actually `/proc/*/statm`, which contains the same information but is easier to
Expand Down

0 comments on commit 77ea74a

Please sign in to comment.