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 which you prepare a memory pool with > gc_new

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) a memory leak