Created
April 29, 2014 13:52
-
-
Save fduran/11401032 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# www.fduran.com | |
# exclude a process from being killed by oom killer | |
echo -17 > /proc/$PID/oom_adj | |
# The possible values of oom_adj range from -17 to +15. The higher the score, more likely the associated process is to be killed by OOM-killer: https://lwn.net/Articles/317814/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment