Re: 2.6.23-mm1

Andrew Morton
2007-10-13T18:19:31Z

On Sat, 13 Oct 2007 20:05:19 +0200 "Torsten Kaiser" <just.for.lkml@googlemail.com> wrote:

> The only thing I noted during load testing (updating Gentoo ==
> compiling and installing) was, that there seems to be memory leak.
> After ~2h 2.5 of my 4Gb where gone. But there where to many things
> going on to pinpoint it... (NFSv4 over eth1394?)

Please send /proc/meminfo and /proc/slabinfo after the leak has been
happening for a while.

Sometimes `echo m > /proc/sysrq_trigger ; dmesg -s 1000000' will
provide useful info.

The page-owner code can pinpoint a leak source. See
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/broken-out/page-owner-tracking-leak-detector.patch

Enable CONFIG_DEBUG_SLAB_LEAK, check out /proc/slab_allocators