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

Re: [Openvpn-users] Many pushed routes


  • Subject: Re: [Openvpn-users] Many pushed routes
  • From: Nejc Skoberne <nejc@xxxxxxxxxxxx>
  • Date: Tue, 04 Apr 2006 15:40:34 +0200

Hi,

This would entirely be dependant on whether you are using FBSD 4.x, 5.x,
or 6.x

I am using FreeBSD 5.3.

But, the fix for your problem can be found by raising your kern.maxfiles
and other sysctl setting. This would be a good start:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html

I tried to set:

root@Server:/usr/local/etc/openvpn# sysctl kern.maxfiles=20000
kern.maxfiles: 7944 -> 20000
root@Server:/usr/local/etc/openvpn# sysctl kern.maxfilesperproc=20000
kern.maxfilesperproc: 7149 -> 20000

and then even to 50000, but I still get the same error message:

Apr  4 13:57:56 Server openvpn[34441]: Options error: Maximum length of --push buffer (1024) has been exceeded

I've also tried to tune some other parameters (nmbclusters) but no luck. Are you
sure this is not hardcoded into OpenVPN?

Thanks,
Nejc
begin:vcard
fn;quoted-printable:Nejc =C5=A0koberne
n;quoted-printable:=C5=A0koberne;Nejc
email;internet:nejc@xxxxxxxxxxxx
tel;fax:+38653810387
tel;cell:+38631883217
x-mozilla-html:FALSE
version:2.1
end:vcard


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-04/msg00051.html on line 197

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-04/msg00051.html on line 197