Re: [Openvpn-devel] Memory of server keeps increasing with key negotiations

2008-05-29 Thread Martin Gadbois
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Gadbois wrote: > Using OpenVPN 2.0.5 and 2.0.9, I notice that an somewhat idle connection > increases the RSS of the server process linearly with time. > Here is my patch to fix this issue. It does create (according to valgrind)

Re: [Openvpn-devel] Memory of server keeps increasing with key negotiations

2008-05-29 Thread Martin Gadbois
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marko Rauhamaa wrote: > Martin Gadbois : > >> I've looked at the code (Yeah! Open Source) and could not see any >> lists, or code that accumulates data, apart from gc_*(). > > There's this weird scheme by wh

Re: [Openvpn-devel] Memory of server keeps increasing with key negotiations

2008-05-28 Thread Martin Gadbois
ccumulates data, apart from gc_*(). Maybe I should look into gc_*() closer... (Or I could add debug code that logs when a gc() gets bigger than a particular threshold... ...) Thanks Marko. - -- == +---------+ Martin Gadbois |Y

[Openvpn-devel] Memory of server keeps increasing with key negotiations

2008-05-28 Thread Martin Gadbois
would be great, as I would like to clear this up. Thanks! - -- == +-----+ Martin Gadbois |You are-- J. Steakley, | Sr. SW Designer|What you do Armor, 1984 | Colubris Network