LWN.net Logo

Toward a smarter OOM killer

Toward a smarter OOM killer
[Kernel] Posted Nov 4, 2009 15:58 UTC (Wed) by corbet

The Linux memory management code does its best to ensure that memory will always be available when some part of the system needs it. That effort notwithstanding, it is still possible for a system to reach a point where no memory is available. At that point, things can grind to a painful halt, with the only possible solution (other than rebooting the system) being to kill off processes until a sufficient amount of memory is freed up. That grim task falls to the out-of-memory (OOM) killer. Anybody who has ever had the OOM killer unleashed on a system knows that it does not always pick the best processes to kill; this article (from this week's Kernel Page, subscribers only) looks at the latest attempt to improve the execution (so to speak) of this unpleasant task.

Full Story (comments: 105)

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