--------------ms020400080200050608070306
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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/
--------------ms020400080200050608070306
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJYDCC
Aw4wggJ3oAMCAQICAwZepDANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNV
BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx
HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25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BgNVBAMTH1BlcnNvbmFs
IEZyZWVtYWlsIFJTQSAyMDAwLjguMzACAwZepDAJBgUrDgMCGgUAoIIBYTAYBgkqhkiG9w0B
CQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wMjAxMzExOTM1MDJaMCMGCSqGSIb3
DQEJBDEWBBTCViXEo4+htEZzZrSsUwiU5xhiEDBSBgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3
DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0D
AgIBKDCBrQYLKoZIhvcNAQkQAgsxgZ2ggZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxX
ZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYD
VQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwg
UlNBIDIwMDAuOC4zMAIDBl6kMA0GCSqGSIb3DQEBAQUABIIBAI2uo/apdJtMBHW1eMUoVR03
1kadqyx64gXLITxWPN0dEgoi4Ge1ix6eTOO0XLjK7D/vU7iHlwXwji/xhSgIQyvX7YFfmQwP
zE3G7OT+xqG90iVJlM2BNxPkI8a5WY/Ktr93ZVFGUVOi9Ikih/A8c9o43919KLyl1BmHeu9g
qGdhrMa3DF2yxSVqOlHLrjXmeFVVhB0Nkt2qfj7pJZg17ofWqeJB1qgWxzdwVGtM7b1NLcDC
JyOYHSV6oXfxhXG9MRKdaqbC9wv1usgOu7tOi11YUVPwRnJiJxta2BIF5j2yhF2sRdgNKIVR
M53MPvY/mgQBLY5xdeCB+bbz9PkPTOsAAAAAAAA=
--------------ms020400080200050608070306--
-
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/