Advertisement
fduran

exclude a process from being killed by oom killer

Apr 28th, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. # www.fduran.com
  2. # exclude a process from being killed by oom killer
  3. echo -17 > /proc/PID/oom_adj
  4.  
  5. # 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/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement