lkml.org 
[lkml]   [2002]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Memory leaks with GRE Tunnels
I use GRE tunnels a lot.  I have run my rc.networking script several 
dozen times with no problems and everything is cranking along nicely.
You can view my scripts at http://blue-labs.org/. I always use a
single numbered interface, "gre1".

However the below really is a bug that should be fixed I would imagine.

David

Deepinder Singh wrote:

> Hi ,
>
> I have been doing some testing using GRE tunnels in Linux ( which btw
> work great ). I found that creating and deleting a tunnel results in a
> memory leak.
>
> To test it out I wrote a small script that basically loops around
> creating and then deleting 8000 tunnel interfaces at a time. On the
> eighth iteration the system hangs a whole with no error messages.
> There was still enoungh virtual memory around even with the leaks so
> I figured something else is wrong. It turns out that the interface
> numbers ( as seen in ' ip link ls' ) do not seem to be reused when an
> interface is deleted and as such the system hangs when the number
> reaches 64K.
>
> I suspect the two issues are realted but am more of a cisco guy and
> know kernel internals. The total mem leak for the 64 K tunnels is
> about 200 megs.
>
> Please cc me if you reply to this post as I am not on the list.
>
> thanks,
> Deepinder Singh
> Sr. Network Eng.
> Soma Networks
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


[unhandled content-type:application/x-pkcs7-signature]
\
 
 \ /
  Last update: 2005-03-22 13:16    [W:0.066 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site