lkml.org 
[lkml]   [2006]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: OOM'ing with 2GB of ram and no "large" memory processes.
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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-25 06:42    [W:0.037 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site