LWN.net Logo

OOM killer and such

OOM killer and such

Posted Jan 25, 2008 1:51 UTC (Fri) by giraffedata (subscriber, #1954)
In reply to: OOM killer and such by corbet
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.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds