On Tue, Jul 12, 2011 at 08:43:24AM +0200, Flynn Marquardt wrote:

> > There is no limit in tinc itself. However, each known node uses a few 
> > kilobytes
> > of memory (worst case), and by default you can only have 1024 open
> > filedescriptors, which limits the amount of nodes that you can ConnectTo. 
> > So if
> > you have a star topology, the central node can only maintain meta 
> > connections
> > with approximately 1000 nodes. This does not affect UDP communication 
> > though.
> 
> The limit of 1024 file descriptors is only a default value under
> Linux/UNIX, it can changed
> by calling
> 
>        ulimit -n nr
> 
> (nr number of open file descriptors) before starting tinc. I never
> tested this with tinc, but with lighttpd it works perfect.

There is another limit; tinc 1.0.x uses the FD_SET macro to manipulate an
fdset_t, and that can only hold 1024 fds. Tinc 1.1 uses libevent, and that
doesn't have a limit as far as I know.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <[email protected]>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to