netdev
[Top] [All Lists]

Re: Memory leak in 2.6.11-rc1?

To: Andrew Morton <akpm@xxxxxxxx>
Subject: Re: Memory leak in 2.6.11-rc1?
From: Martin Josefsson <gandalf@xxxxxxxxxxxxxx>
Date: Thu, 27 Jan 2005 13:17:28 +0100 (CET)
Cc: Russell King <rmk+lkml@xxxxxxxxxxxxxxxx>, torvalds@xxxxxxxx, alexn@xxxxxxxxx, kas@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20050127004732.5d8e3f62.akpm@xxxxxxxx>
References: <20050121161959.GO3922@xxxxxxxxxx> <1106360639.15804.1.camel@boxen> <20050123091154.GC16648@xxxxxxx> <20050123011918.295db8e8.akpm@xxxxxxxx> <20050123095608.GD16648@xxxxxxx> <20050123023248.263daca9.akpm@xxxxxxxx> <20050123200315.A25351@xxxxxxxxxxxxxxxxxxxxxx> <20050124114853.A16971@xxxxxxxxxxxxxxxxxxxxxx> <20050125193207.B30094@xxxxxxxxxxxxxxxxxxxxxx> <20050127082809.A20510@xxxxxxxxxxxxxxxxxxxxxx> <20050127004732.5d8e3f62.akpm@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 27 Jan 2005, Andrew Morton wrote:

> Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:
> >
> > This mornings magic numbers are:
> >
> >  3
> >  ip_dst_cache        1292   1485    256   15    1
>
> I just did a q-n-d test here: send one UDP frame to 1.1.1.1 up to
> 1.1.255.255.  The ip_dst_cache grew to ~15k entries and grew no further.
> It's now gradually shrinking.  So there doesn't appear to be a trivial
> bug..
>
> >  Is no one interested in the fact that the DST cache is leaking and
> >  eventually takes out machines?  I've had virtually zero interest in
> >  this problem so far.
>
> I guess we should find a way to make it happen faster.

I could be a refcount problem. I think Russell is using NAT, it could be
the MASQUERADE target if that is in use. A simple test would be to switch
to SNAT and try again if possible.

/Martin

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