LWN.net Logo

The existence of OOM is one of the few really stupid things in Linux

The existence of OOM is one of the few really stupid things in Linux

Posted Nov 6, 2009 9:10 UTC (Fri) by epa (subscriber, #39769)
In reply to: The existence of OOM is one of the few really stupid things in Linux by nix
Parent article: Toward a smarter OOM killer

Somebody else will have to suggest a possible answer to the stack space problem :-(. It might not be possible to turn off overcommit entirely for desktop systems. But anything that can be done to make overcommit happen less often - or, equally, to make strict allocation usable for a normal workload - narrows the gap between what the kernel promises and what it can deliver, and makes the OOM killer less likely to run.

(Doesn't a process have some way to specify the max. stack size that it will use for each thread?)


(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