Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: linux-ipsec: Small Memory leek detected in KLIPS setup/teardown

From: Richard Guy Briggs <rgb(at)conscoop.ottawa.on.ca>
Date: Tue Jul 28 1998 - 11:26:05 EDT


-----BEGIN PGP SIGNED MESSAGE-----
> You asked to know where memory is leaking, here is what I have
> seen. Since when a userspace process is finished all of it's memory
> _should_ be reclaimed I presume that the losses are in kernel space.

I thought so...just wanted another opinion.

Probably the easiest way to test this is to not load the ipsec module and run the tests, or to delete or move /dev/ipsec.

> Using the /proc/meminfo as a metric, memory first comes out of
> 'MemFree'. When that gets down to about 640KB memory starts comming
> out of 'Cached' and a bit out of 'Buffers'.
> Then 'Buffers' gets hit big time, then 'MemShared' starts taking
> hits as well.
> Lastly if you have not turned it off (like I did for sevral of these
> tests) 'SwapFree' starts loosing it when the others are all below
> about 400KB.

Ok, I'm not exactly sure what this means, but I can refer to it when I need it. Thanks.

> By the time one reaches the swap space the system is crawling, this
> is quite the failure mode and one that maybe the Linux VM people
> should study. There is plenty of swap at this point but the system is
> totaly hosed in any case and the disk is running full at bandwidth.

Hmmmm, yup been there...

> Oh bad, a reboot command sends one into never never land, ghods I
> hope this will not mess up Watchdogs! The system still forward
> packets, and some command line stuff works, but the system does not
> reboot. Worse, a three fingered salute does not get it's attention in
> this state! Linux 2.0 does not fail gracefully when it is out of VM!
>
> In my current state I do not grok how to run a test that only has
> spi or spigrp commands. If there was a way to un-spigrp I could do
> it, the way things are I am not shure what you want.

Do you need help?X

Well, doing consecutive spi sets, followed by spi del's would test that, and then doing several spi sets, then spigrp's and spiungrp's would help. Issuing an spigrp with one SA will ungroup it, with more than one SA will group it. This should be in the manpage...yup, it does.

> So, there are still leaks. Whee.

Thanks.

> ||ugh Daniel

        slainte mhath, RGB
- --

Richard Guy Briggs -- PGP key available                       Auto-Free Ottawa!
rgb at conscoop dot ottawa dot on dot ca              
http://www.flora.org/afo/http://www.achilles.net/~rgb/                   Ottawa-Rideau Bioregion, Canada
Please send all spam to root@127.0.0.1

"We left our footprints in the Earth
And punched a hole right through the sky" -- S.Hogarth/J.Helmer(Marillion)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNb3ti9+sBuIhFagtAQEpmwP/WZuczJwTX3bsFv07vwxTxRYFt+ztONn4 udY3ibcXEZc2+Czn56l2+OAAN1im94J+yayfFzzWLxEgyKtg5GydQ0P0mMpvnUM3 oPVR11HeCcEKoGH5Sg2JFNHyBKFDuH0Tz5bZBKMxz94Xf7KSTAs/mZ3ePs/zkYPG l+68fwnwsDQ=
=P+gP
-----END PGP SIGNATURE----- Received on Tue Jul 28 11:26:16 1998

Do you need more help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:25 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library