[<prev] [next>] [day] [month] [year] [list]
Message-ID: <a71bd89a0712070644t57a1fd17rf18819fef83b6a78@mail.gmail.com>
Date: Fri, 7 Dec 2007 06:44:50 -0800
From: "Dan Kegel" <dank@...el.com>
To: linux-kernel@...r.kernel.org
Cc: "Martin MOKREJÅ" <mmokrejs@...osome.natur.cuni.cz>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists