Hello, This morning, customer called me and said that their VPN isn't working anymore. I have a very simple setup, with two gateways (running tincd 1.0pre8-3 on Debian 3.0 stable), linking two subnets. So I noticed that tincd on second gateway isn't running anymore. Checking logs revealed: syslog.0:Apr 4 06:04:10 gw2 kernel: Out of Memory: Killed process 15903 (tincd). syslog.0:Apr 4 06:04:12 gw2 tinc.gw2[15903]: Terminating Obviously tincd ate all the memory, and kernel killed it. Memory leak? So, I recompiled it with a patch recommended in http://mail.nl.linux.org/tinc/2003-03/msg00020.html and it seems to work fine now. I suppose every Debian 3.0 installation is affected because of this? If this is a OpenSSL bug, someone should notify the OpenSSL developers. Boris Sagadin Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/
On Fri, Apr 04, 2003 at 04:24:43PM +0200, Boris Sagadin wrote:> Obviously tincd ate all the memory, and kernel killed it. Memory leak?[...]> If this is a OpenSSL bug, someone should notify the OpenSSL developers.Yes it's a memory leak caused by the latest OpenSSL libraries, or rather, by a feature they changed and didn't mention in the manual. Please file a bug against the Debian package of tinc so Ivo will have an incentive to fix it. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.eu.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20030404/35720df0/attachment.pgp