Re: Memory leak in 2.6.11-rc1?

From: Phil Oester
Date: Thu Jan 27 2005 - 13:41:01 EST


On Thu, Jan 27, 2005 at 04:49:18PM +0000, Russell King wrote:
> so obviously the GC does appear to be working - as can be seen from the
> number of entries in /proc/net/rt_cache. However, the number of objects
> in the slab cache does grow day on day. About 4 days ago, it was only
> about 600 active objects. Now it's more than twice that, and it'll
> continue increasing until it hits 8192, where upon it's game over.

I can confirm the behavior you are seeing -- does seem to be a leak
somewhere. Below from a heavily used gateway with 26 days uptime:

# wc -l /proc/net/rt_cache ; grep ip_dst /proc/slabinfo
12870 /proc/net/rt_cache
ip_dst_cache 53327 57855

Eventually I get the dst_cache overflow errors and have to reboot.

Phil
-
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/