public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Memory leaks with GRE Tunnels
@ 2002-01-31 18:33 Deepinder Singh
  2002-01-31 18:57 ` George Bonser
  2002-01-31 19:35 ` David Ford
  0 siblings, 2 replies; 6+ messages in thread
From: Deepinder Singh @ 2002-01-31 18:33 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-02-02  4:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-31 18:33 Memory leaks with GRE Tunnels Deepinder Singh
2002-01-31 18:57 ` George Bonser
2002-01-31 19:40   ` Deepinder Singh
2002-02-02  4:29     ` andrew may
2002-01-31 20:49   ` Olaf Titz
2002-01-31 19:35 ` David Ford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox