[cgl_discussion] Replaceable OOM Killer

Rick Payne rickp at rossfell.co.uk
Tue Dec 9 09:25:20 PST 2003


AVL.6.2 discusses a replaceable OOM handler. We've written a simple 
proof-of-concept that allows us to provide 'normal' memory limits for a 
process, and take that into account when deciding which process to kill in 
an out of memory situation.

There's simple a patch (for 2.6.0-pre11) to make the out_of_memory handler 
replaceable from a module. A sample module is also provided - but it could 
easily be extended to suite.

    <http://www.rossfell.co.uk/~rickp/oom/>

Rick



More information about the cgl_discussion mailing list