From: "Dan Kegel" <dank@kegel.com>
To: linux-kernel@vger.kernel.org
Cc: "Martin MOKREJÅ" <mmokrejs@ribosome.natur.cuni.cz>
Subject: re: 2.6.23.8: OOM killer kills wrong jobs
Date: Fri, 7 Dec 2007 06:44:50 -0800 [thread overview]
Message-ID: <a71bd89a0712070644t57a1fd17rf18819fef83b6a78@mail.gmail.com> (raw)
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
next reply other threads:[~2007-12-07 14:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-07 14:44 Dan Kegel [this message]
[not found] <9xMQB-5XC-25@gated-at.bofh.it>
[not found] ` <9xHQH-6oR-5@gated-at.bofh.it>
2007-12-17 5:20 ` Steven Winikoff
2007-12-17 13:30 ` Alan Cox
2007-12-17 15:44 ` taow
2007-12-17 15:51 ` Sylvain Robitaille
2007-12-17 15:59 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2007-12-07 9:25 Martin MOKREJŠ
2007-12-07 14:44 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a71bd89a0712070644t57a1fd17rf18819fef83b6a78@mail.gmail.com \
--to=dank@kegel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mmokrejs@ribosome.natur.cuni.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®