From owner-freebsd-net@FreeBSD.ORG Wed Apr 13 07:45:02 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7576E16A4CE for ; Wed, 13 Apr 2005 07:45:02 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17E3643D39 for ; Wed, 13 Apr 2005 07:45:02 +0000 (GMT) (envelope-from phil.brennan@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so1523772nzk for ; Wed, 13 Apr 2005 00:45:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jxFPJ/K9Mbn1ox0Fd0N9p+SbOcNkmTfTcM01Nq1l0KKIS3zf4kX8Om9Rth4XbKpLUR7Z0kCoa5gGVguxvDB+yjNU/DNNchil4jd48LWeETVgnqjqhH2Ekqm3wcDF3Tup7yDpeic8UbKUYo/REfRlQ5C5qNRCjHn4KKhGO7ZQRPo= Received: by 10.36.113.5 with SMTP id l5mr18189nzc; Wed, 13 Apr 2005 00:45:01 -0700 (PDT) Received: by 10.36.104.18 with HTTP; Wed, 13 Apr 2005 00:45:01 -0700 (PDT) Message-ID: Date: Wed, 13 Apr 2005 08:45:01 +0100 From: Phil Brennan To: freebsd-net@freebsd.org In-Reply-To: <147364753343.20050413113624@mxc.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <147364753343.20050413113624@mxc.ru> Subject: Re: Lots VLANs caouses ngctl to fail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Phil Brennan List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 07:45:02 -0000 On 4/13/05, Nikolay Arhangelskiy wrote: > Hello freebsd-net, >=20 > 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: >=20 > ngctl: send msg: No buffer space available >=20 > Is there are any limitations in ngctl on objects count? > Or any kernel side limitations? >=20 > -- > Best regards, > Nikolay mailto:Stirch@mxc.ru >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20 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