OOM killer and such
Posted Jan 25, 2008 1:51 UTC (Fri) by giraffedata
In reply to: OOM killer and such
Parent article: The Grumpy Editor's video journey part 2: Video editors
It's crazy to let a greedy application wake the OOM Killer, which is tantamount to a kernel crash. Use a virtual memory size rlimit (e.g. 'ulimit' shell command). Given how easy it is for a program to go wild with its memory demands, it has always surprised me that Linux defaults to unlimited memory per process and that few users change that.
I use rlimits obsessively, and I frequently have leaky programs die when they get too big. I never have to worry about them causing trouble for innocent processes.
to post comments)