From: John Sigler <linux.kernel@free.fr>
To: Andrea Arcangeli <andrea@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Runaway process and oom-killer
Date: Wed, 13 Jun 2007 11:20:40 +0200 [thread overview]
Message-ID: <466FB6E8.8020606@free.fr> (raw)
In-Reply-To: <20070613090837.GD7443@v2.random>
Andrea Arcangeli wrote:
> On Wed, Jun 13, 2007 at 10:49:29AM +0200, John Sigler wrote:
>
>> Question 2: how can I tell which process or kernel thread was hogging
>> most of the RAM when the oom-killer kicked in?
>
> Theoretically the one that was killed first but not for sure in
> current mainline hence see below.
If I read the logs correctly, oom-killer is "invoked" three times before
it effectively kills a process. Then oom-killer kills myapp, syslogd,
and boa, in that order. Why didn't oom-killer kill anything the first
three times?
>> Question 3: if myapp was hogging the RAM, then why did oom-killer snipe
>> other processes (syslogd and boa) after it killed myapp?
>
> Please try again after applying this monolith (proper submission was
> on linux-mm but the monolith is easier to apply for tests like this):
>
> http://www.kernel.org/pub/linux/kernel/people/andrea/patches/v2.6/2.6.22-rc4/oom-fixes-1
Would this patch apply to a 2.6.20.7-rt8 source tree?
Regards.
next prev parent reply other threads:[~2007-06-13 9:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-13 8:49 Runaway process and oom-killer John Sigler
2007-06-13 9:08 ` Andrea Arcangeli
2007-06-13 9:20 ` John Sigler [this message]
2007-06-13 13:29 ` Helge Hafting
2007-06-13 15:10 ` Chris Friesen
2007-06-13 15:26 ` Andrea Arcangeli
2007-06-14 10:01 ` John Sigler
2007-06-14 9:43 ` John Sigler
2007-06-14 12:56 ` Helge Hafting
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=466FB6E8.8020606@free.fr \
--to=linux.kernel@free.fr \
--cc=andrea@suse.de \
--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