netdev
[Top] [All Lists]

Re: Memory leak in 2.6.11-rc1?

To: Phil Oester <kernel@xxxxxxxxxxxx>
Subject: Re: Memory leak in 2.6.11-rc1?
From: Russell King <rmk+lkml@xxxxxxxxxxxxxxxx>
Date: Thu, 27 Jan 2005 19:25:04 +0000
Cc: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, torvalds@xxxxxxxx, alexn@xxxxxxxxx, kas@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20050127183745.GA13365@xxxxxxxxxxxx>; from kernel@xxxxxxxxxxxx on Thu, Jan 27, 2005 at 10:37:45AM -0800
Mail-followup-to: Phil Oester <kernel@xxxxxxxxxxxx>, Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, torvalds@xxxxxxxx, alexn@xxxxxxxxx, kas@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
References: <20050123095608.GD16648@xxxxxxx> <20050123023248.263daca9.akpm@xxxxxxxx> <20050123200315.A25351@xxxxxxxxxxxxxxxxxxxxxx> <20050124114853.A16971@xxxxxxxxxxxxxxxxxxxxxx> <20050125193207.B30094@xxxxxxxxxxxxxxxxxxxxxx> <20050127082809.A20510@xxxxxxxxxxxxxxxxxxxxxx> <20050127004732.5d8e3f62.akpm@xxxxxxxx> <16888.58622.376497.380197@xxxxxxxxxxxx> <20050127164918.C3036@xxxxxxxxxxxxxxxxxxxxxx> <20050127183745.GA13365@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
On Thu, Jan 27, 2005 at 10:37:45AM -0800, Phil Oester wrote:
> 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.

Can you provide some details, eg kernel configuration, loaded modules
and a brief overview of any netfilter modules you may be using.

Maybe we can work out what's common between our setups.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

<Prev in Thread] Current Thread [Next in Thread>