User: Password:
|
|
Subscribe / Log in / New account

Delaying the OOM killer

Delaying the OOM killer

Posted Mar 10, 2011 12:52 UTC (Thu) by johill (subscriber, #25196)
In reply to: Delaying the OOM killer by misiu_mp
Parent article: Delaying the OOM killer

I might actually need mlockall(), but even that seems feasible.


(Log in to post comments)

Delaying the OOM killer

Posted Mar 10, 2011 13:07 UTC (Thu) by nix (subscriber, #2304) [Link]

It seems very dangerous to have anything whose purpose is to respond to out-of-memory conditions and *not* lock it into memory. (What we really need is a way to say 'make this process less overcommitted'. If you do that and then do all the work in a thread, or do a bit of mprotect() work, you can even avoid stack expansions causing OOM.)


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