Messages in this thread |  | | | Date | Fri, 7 Dec 2007 06:44:50 -0800 | | From | "Dan Kegel" <> | | Subject | re: 2.6.23.8: OOM killer kills wrong jobs |
| |
Marting Mokreja wrote: > first of all, sorry for not being up to date with how the OOM killer > works. I think there used to be a kernel config option to disable > OOM killer and instead kill the process which actually asks for the > memory and supposedly caused the memory lack. That is what I would > like to have on my system. I a have a 1GB RAM laptop
You probably just need to add more swap space on your system,
Any time the OOM killer fires, something's wrong with the system, and it's more productive to deal with that than to wish for a more accurate OOM killer; see http://lwn.net/Articles/111408/
When I was working at a company that used embedded Linux, I eventually figured this out, and patched the kernel to panic on OOM conditions; that gave users the right incentive to avoid configuring jobs that caused the system to run out of memory. - Dan
|  |