4 ms·
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
by ajdecon 13y ago
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-dev/oom-killer-1911807.html http://www.oracle.com/technetwork/articles/servers-storage-d...
- axylone 13y agooom_adj is depreciated, use oom_score_adj instead. https://www.kernel.org/doc/Documentation/filesystems/proc.txt https://www.kernel.org/doc/Documentation/filesystems/proc.tx...