From: Andrew Morton <akpm@osdl.org>
To: Ed Sweetman <safemode@comcast.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: OOM'ing with 2GB of ram and no "large" memory processes.
Date: Wed, 24 May 2006 21:39:56 -0700 [thread overview]
Message-ID: <20060524213956.5ab06bb4.akpm@osdl.org> (raw)
In-Reply-To: <447519BE.9090103@comcast.net>
Ed Sweetman <safemode@comcast.net> wrote:
>
> This was trigged when concurrently encoding multiple gigabytes of video
> with mencoder. Mencoder doesn't appear to be leaking any memory however,
> and in fact only seems to be using 20MB each. I have 2GB of ram and
> apparently as far as "free" is concerned, 1.67GB of it is in cache. My
> largest memory hogging process is X with 85MB resident, firefox then
> thunderbird following. I dont run swap. I'm not sure why OOM was
> triggered and why it apparently wanted to kill some daemons and firefox
> (even though both were still running afterwards). If anyone can tell me
> why, that would be greatly appreciated. Here is what dmesg gave me.
>
> ...
>
> DMA32 free:7960kB min:5708kB low:7132kB high:8560kB active:1983536kB
> inactive:276kB present:2052260kB pages_scanned:299393 all_unreclaimable? no
Something has caused basically all the pages to get stuck on the active
list. My grepping of the mencoder source turns up no mlock()s, so it's not
that.
Have you been playing with /proc/sys/vm/swappiness?
What's in /proc/meminfo when this is all happening?
prev parent reply other threads:[~2006-05-25 4:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-25 2:43 Ed Sweetman
2006-05-25 4:39 ` Andrew Morton [this message]
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=20060524213956.5ab06bb4.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=safemode@comcast.net \
/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
Powered by JetHome