My advice on implementing stuff in C:
My advice on implementing stuff in C:
Posted Oct 23, 2010 3:18 UTC (Sat) by foom (subscriber, #14868)In reply to: My advice on implementing stuff in C: by wahern
Parent article: Russell: On C Library Implementation
> it's not always--perhaps not even often--that the offending process gets killed; it's the next guy paging in a small amount of memory that gets killed.
Actually, the OOM-killer tries *very* hard to not simply kill the next guy paging in a small amount of memory, but to determine what the real problem process is and kill that instead. It doesn't always find the correct culprit, but it often does, and at least it tends not to kill your ssh session.
