Remix.run Logo
cwillu 6 hours ago

(2004)

jml7c5 6 hours ago | parent [-]

Thanks. 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/l...

cwillu 14 minutes ago | parent [-]

There's also /proc/sys/vm/panic_on_oom and /proc/sys/vm/oom_kill_allocating_task for other behaviours suggested in the comments.