Lots VLANs caouses ngctl to fail
Phil Brennan
phil.brennan at gmail.com
Wed Apr 13 00:45:02 PDT 2005
On 4/13/05, Nikolay Arhangelskiy <Stirch at mxc.ru> wrote:
> Hello freebsd-net,
>
> I need to operate with hundreds VLANs on FreeBSD box (5.3).
> Using small script I create 250 VLANs, exec "ngctl list" - no
> problem, ngctl lists all 250 VLANs.
> After creating another 250 VLANs ngctl start to fail with message:
>
> ngctl: send msg: No buffer space available
>
> Is there are any limitations in ngctl on objects count?
> Or any kernel side limitations?
>
> --
> Best regards,
> Nikolay mailto:Stirch at mxc.ru
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
I don't have a clue about ngctl, but still, it sounds like you are
running out of network buffers.
Have a look at the output of netstat -m, see if there is a problem
with the usage of mbuf cluster usage.
You might need to add something like
OPTIONS NMBCLUSTERS 65536
to your kernel config and rebuild + reinstall the kernel.
Or, I could be completely wrong, if so I apologise in advance :)
Regards,
Philip Brennan
More information about the freebsd-net
mailing list