News for hackers. Stuff that matters.
Re:In emergency cases a passenger was selected and thrown ou... by ajdecon on Friday August 30, 2013 @11:23AM (#6302229)
It is, in fact, possible to make a process immune to the OOM killer:

echo -17 > /proc/$PID/oom_adj

where $PID is the process ID you want to protect.

oom_adj can be tuned with other values to make a process more or less likely to be killed.

http://www.oracle.com/technetwork/articles/servers-storage-d...

Re:In emergency cases a passenger was selected and thrown ou... by axylone on Friday August 30, 2013 @01:03PM (#6302868)
oom_adj is depreciated, use oom_score_adj instead.

https://www.kernel.org/doc/Documentation/filesystems/proc.tx...