[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Re: [Openvpn-devel] Urgent: Limitation to 100 virtual tunnel devices??


  • Subject: [Openvpn-users] Re: [Openvpn-devel] Urgent: Limitation to 100 virtual tunnel devices??
  • From: Alberto Gonzalez Iniesta <agi@xxxxxx>
  • Date: Thu, 1 Jul 2004 17:52:06 +0200
  • Resent-date: Thu, 1 Jul 2004 18:03:32 +0200
  • Resent-from: agi@xxxxxxxxxxxxxxx
  • Resent-message-id: <20040701160332.GB1146@var.inittab.org>
  • Resent-to: openvpn-users@xxxxxxxxxxxxxxxxxxxxx

On Thu, Jul 01, 2004 at 05:18:29PM +0100, Juerg.VonBueren@xxxxxxx wrote:
> We are running into trouble with more than 100 virtual tunnel devices .
> The reported problem is as follows:
> 
> Reported Failure in /var/log/syslog
> Jul  1 06:30:19 1100PRVC001 openvpn[15520]: OpenVPN 1.5.0 i386-rpm-linux
> [SSL] [LZO] [PTHREAD] built on Mar  4 2004
> Jul  1 06:30:19 1100PRVC001 openvpn[15520]: Note: Cannot ioctl TUNSETIFF
> tun: Too many open files in system (errno=23)
> Jul  1 06:30:19 1100PRVC001 openvpn[15520]: Note: Attempting fallback to
> kernel 2.2 TUN/TAP interface
> Jul  1 06:30:19 1100PRVC001 openvpn[15520]: Cannot allocate TUN/TAP dev
> dynamically
> Jul  1 06:30:19 1100PRVC001 openvpn[15520]: Exiting
> 
> max file-handles ist set to 16384

root@var:~# ps ax | grep openvpn | wc -l
309

(didn't try more)

> Distribution ist Debian Woody 3.0 r2      (Kernel 2.4.18)

Debian sid, openvpn 1.6.0, kernel 2.6.7 So not exactly the same thing,
but lets see in one of my servers...

agi@whitman:~$ ps ax | grep openv | wc -l
    109

(and starts failing)

Debian woody, openvpn1.6.0, kernel 2.4.26, so the problem is 
a) the kernel version
b) something in woody
But in any case not openvpn.

> openvpn 1.5.0-2                     (rpm-Package, converted via alien to
> deb-package)

Humm well, that's not the best choice IMHO to install openvpn in a woody
box. Try adding this to sources.list:

deb http://www.backports.org/debian stable openvpn


> Is there any known Limitation to 100 TUN-Devices or how can we break that
> limitation?

Try switching to 2.6.x kernels?

-- 
Alberto Gonzalez Iniesta   | BOFH excuse #330:
agi@(agi.as|debian.org)    | quantum decoherence
Encrypted mail preferred   | 

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users