mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mel Gorman <mel@csn.ul.ie>
To: Christoph Lameter <cl@linux-foundation.org>
Cc: David John <davidjon@xenontk.org>,
	linux-kernel@vger.kernel.org, Jonathan Miles <jon@cybus.co.uk>,
	Pekka Enberg <penberg@cs.helsinki.fi>
Subject: Re: OOM kernel behaviour
Date: Wed, 2 Dec 2009 15:55:38 +0000	[thread overview]
Message-ID: <20091202155537.GH1457@csn.ul.ie> (raw)
In-Reply-To: <alpine.DEB.2.00.0912011124490.10426@router.home>

On Tue, Dec 01, 2009 at 11:26:37AM -0600, Christoph Lameter wrote:
> On Tue, 1 Dec 2009, David John wrote:
> 
> > Here are three logs from three days. Log3.txt is today's log and the OOM
> > killer murdered Thunderbird as I was attempting to write this message.
> > The kernel config is also attached.
> 
> Hmmm... This is all caused by the HIGHMEM zone freecount going beyond min
> which then triggers reclaim which for some reason fails (should not there
> is sufficient material there to reclaim). There is enough memory in the
> NORMAL zone. Wonder if something broke in 2.6.31 in reclaim? Mel?
> 

I'm not aware of breakage of that level, nor do I believe the page
allocator problems are related to this bug.

However, I just took a look at the logs from the three days and I see
things like

Nov 25 23:58:53 avalanche kernel: Free swap  = 0kB
Nov 25 23:58:53 avalanche kernel: Total swap = 2048248kB


Something on that system is leaking badly. Do something like

ps aux --sort vsz

and see what process has gone mental and is consuming all of swap. It's
possible that the OOM killer is triggering too easily but it's possible
that a delayed triggering of the OOM killer would have been just that -
a delay. Eventually all memory and all swap would be used.

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

  reply	other threads:[~2009-12-02 15:55 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 17:38 Jonathan Miles
2009-11-30 18:57 ` Christoph Lameter
2009-12-01  9:57   ` Jonathan Miles
2009-12-01 13:21     ` Jonathan Miles
2009-12-01 16:08     ` Christoph Lameter
2009-12-01 18:07       ` Jonathan Miles
2009-12-01 18:42         ` Christoph Lameter
2009-12-04 20:36         ` OOM kernel behaviour - 2.6.32 Jonathan Miles
2009-12-09 13:52           ` Jonathan Miles
2009-12-01 15:35 ` OOM kernel behaviour David John
2009-12-01 16:07   ` Christoph Lameter
2009-12-01 17:10     ` David John
2009-12-01 17:26       ` Christoph Lameter
2009-12-02 15:55         ` Mel Gorman [this message]
2009-12-07  5:34           ` David John
2009-12-07 14:59             ` Mel Gorman
2009-12-08  3:41               ` David John
2009-12-01 17:32       ` Christoph Lameter
2009-12-02  3:17         ` David John
2009-12-02  4:29       ` KOSAKI Motohiro
2009-12-02  5:24         ` David John
2009-12-02  5:31           ` KOSAKI Motohiro

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=20091202155537.GH1457@csn.ul.ie \
    --to=mel@csn.ul.ie \
    --cc=cl@linux-foundation.org \
    --cc=davidjon@xenontk.org \
    --cc=jon@cybus.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penberg@cs.helsinki.fi \
    /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®