3 ms·
(2004)
by cwillu 5mo ago
(2004)
- jml7c5 5mo agoThanks. I was confused for a bit, given these days you can do echo "-1000" > /proc/<pid>/oom_score_adj to disable OOM killing for a process. https://github.com/torvalds/linux/blob/master/include/uapi/linux/oom.h https://github.com/torvalds/linux/blob/master/include/uapi/l...
- cwillu 5mo agoThere's also /proc/sys/vm/panic_on_oom and /proc/sys/vm/oom_kill_allocating_task for other behaviours suggested in the comments.