Slab cache seems to grow forever - 2.6.6-rc3-mm1

From: Brent Cook
Date: Tue May 04 2004 - 06:57:31 EST


Hello,

This might be related to the change in fs-writeback.c that fixed
redirtying inodes on NFS, but I'm not sure. It seems that the Slab cache
never shrinks. Could this be a memory leak? It definitely affects system
performance. Here are the numbers after running for about 12 hours with
heavy NFS traffic (this is the client).

What's the best way to see who is allocating Slab memory?

/proc/meminfo
MemTotal: 517044 kB
MemFree: 116876 kB
Buffers: 1176 kB
Cached: 18908 kB
SwapCached: 3428 kB
Active: 17840 kB
Inactive: 8448 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 517044 kB
LowFree: 116876 kB
SwapTotal: 506036 kB
SwapFree: 497804 kB
Dirty: 940 kB
Writeback: 0 kB
Mapped: 9012 kB
Slab: 367588 kB
Committed_AS: 19856 kB
PageTables: 548 kB
VmallocTotal: 516020 kB
VmallocUsed: 8748 kB
VmallocChunk: 506908 kB

Thanks
- Brent
-
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/