public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Christopher Friesen" <cfriesen@nortel.com>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: help interpreting oom-killer output
Date: Wed, 21 Sep 2005 10:07:28 -0600	[thread overview]
Message-ID: <43318540.5020105@nortel.com> (raw)
In-Reply-To: <20050921133701.GB5532@dmt.cnet>

Marcelo Tosatti wrote:

> See that the DMA zone free count is equal to the "min" watermark. Normal
> and Highmem are both above the "high" watermark.
> 
> So this must be a DMA allocation (see gfp_mask). Stick a "dump_stack()" 
> to find out who is the allocator.

The final trigger may be a DMA allocation, but the initial cause is 
whatever is chewing up all the NORMAL memory.

I can repeatably trigger the fault by running LTP.  When it hits the 
"rename14" test, the oom killer kicks in.  Before running this test, I 
had over 3GB of memory free, including over 800MB of normal memory.

To track it down, I started dumping /proc/slabinfo every second while 
running this test.  It appears the culprit is the dentry_cache, which 
consumed at least 817MB of memory (and probably peaked higher than 
that).  As soon as the test program died, all the memory was freed.

Anyone have any ideas what's going on?

Chris

  reply	other threads:[~2005-09-21 16:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-20 21:37 help interpreting oom-killer output Christopher Friesen
2005-09-21 13:37 ` Marcelo Tosatti
2005-09-21 16:07   ` Christopher Friesen [this message]
2005-09-21 17:34   ` Christopher Friesen
     [not found] <4OY0C-5kE-59@gated-at.bofh.it>
2005-09-20 23:53 ` Robert Hancock
2005-09-21  5:03   ` Christopher Friesen

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=43318540.5020105@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /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