tinc memoryleak ?

Spijker spijker at nl.linux.org
Tue Mar 25 12:27:09 CET 2003


On Wed, Mar 19, 2003 at 04:48:02PM +0100, Guus Sliepen wrote:
> On Wed, Mar 19, 2003 at 03:43:20PM +0100, mutombo wrote:
> 
> > I noticed that tinc is using quite a big amount of memory after some time.
> > 
> >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  Command
> > 11559 root       9   0  129m  73m 1092 S  0.0 39.1   0:22.06 tincd
> > 
> > you can see that after 22 hours the memsize is way too big.
> 
> What did you do? :)
> 
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> root       570  0.4  1.8  6952 1156 ?        R    Feb03 271:05 /usr/sbin/tincd -n oi -d
> 
> That's the daemon I run in a large VPN. Your configuration may be
> different though, and that could cause the memory leak. Could you send
> us your configuration files? Also, did you see any messages in the
> syslog from tinc?

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root     15722  1.1 28.4 11077 6 109656 ?     S    12:05   0:11 /usr/sbin/tincd -n cubenet -d1


A 100MB memory in just 11 minutes, that's definively a memory leak. I
use a very straight forward config.

Grtz, Job

--
Job Spijker
spijker at nl.linux.org
Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://tinc.nl.linux.org/




More information about the Tinc mailing list