Re: v3.4-rc2 out-of-memory problems (was Re: 3.4-rc1 sticks-and-crashs)

From: Pekka Enberg
Date: Mon Apr 09 2012 - 13:00:15 EST


On Mon, Apr 9, 2012 at 7:33 PM, Rik van Riel <riel@xxxxxxxxxx> wrote:
>> Attaching these files, since I can't really make anything out of the
>> latter.  Note that I started a few memory hogs (X, Firefox, Emacs with
>> Gnus), so overall memory footprint has grown to 768 MB.
>
> Looks like the "missing" 400MB is all in filesystem caches,
> specifically the dentry cache, the ext4 inode cache and
> buffer heads.
>
> That is perfectly fine, since those caches will be shrunk
> when the system needs memory.

CONFIG_SLUB, right? It will merge caches so you don't necessarily see
leaks in /proc/slabinfo. You can use "slub_nomerge" kernel parameter
to disable the merging.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/