From: "Chris Friesen" <cfriesen@nortel.com>
To: Jesper Juhl <jesper.juhl@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: additional oom-killer tuneable worth submitting?
Date: Thu, 07 Dec 2006 15:57:41 -0600 [thread overview]
Message-ID: <45788E55.5070009@nortel.com> (raw)
In-Reply-To: <9a8748490612071337p612f7a2t5fd31968a9ff5da9@mail.gmail.com>
Jesper Juhl wrote:
>> Jesper Juhl wrote:
>> > What happens in the case where the OOM killer really, really needs to
>> > kill one or more processes since there is not a single drop of memory
>> > available, but all processes are below their configured thresholds?
> I realize that if this case happens the system is misconfigured as far
> as oomthresh goes, but if this is a knob that we put in the mainline
> kernel then I believe there should be some sort of emergency handling
> code that takes this situation into account. Perhaps throw some very
> nasty looking log messages and then fall back to the classic OOM
> killer behaviour..?
Yeah, I can see that the reboot might be a bit drastic for mainline. I
think the fallback to classic behaviour might work okay.
Anyway, the chances of hitting that case are likely pretty slim. The
way we've been using this is to only set the threshold for fairly
important long-lived daemons. Much of the "standard" stuff (shell, cat,
cp, mv, etc.) is left unprotected.
Chris
next prev parent reply other threads:[~2006-12-07 21:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 18:30 additional oom-killer tuneable worth submitting? Chris Friesen
2006-12-07 18:50 ` Jesper Juhl
2006-12-07 21:25 ` Chris Friesen
2006-12-07 21:37 ` Jesper Juhl
2006-12-07 21:57 ` Chris Friesen [this message]
2006-12-07 22:25 ` Jesper Juhl
2006-12-07 19:21 ` Peter Zijlstra
2006-12-07 21:26 ` Chris Friesen
2006-12-07 23:22 ` Alan
2006-12-07 23:21 ` Chris Friesen
-- strict thread matches above, loose matches on Subject: below --
2006-12-08 13:58 Al Boldi
2006-12-08 14:56 ` Alan
2006-12-08 15:19 ` Al Boldi
2006-12-08 15:55 ` Alan
2006-12-08 16:59 ` Al Boldi
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=45788E55.5070009@nortel.com \
--to=cfriesen@nortel.com \
--cc=jesper.juhl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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