From owner-cvs-all@FreeBSD.ORG Thu Nov 25 11:08:04 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D30716A4CE; Thu, 25 Nov 2004 11:08:04 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44B8B43D48; Thu, 25 Nov 2004 11:08:03 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAPB8051060833; Thu, 25 Nov 2004 13:08:00 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 61255-15; Thu, 25 Nov 2004 13:07:59 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAPB7xls060824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Nov 2004 13:07:59 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAPB859c025474; Thu, 25 Nov 2004 13:08:05 +0200 (EET) (envelope-from ru) Date: Thu, 25 Nov 2004 13:08:04 +0200 From: Ruslan Ermilov To: Maxim Konovalov Message-ID: <20041125110804.GB25402@ip.net.ua> References: <200411250927.iAP9Ru3b011839@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline In-Reply-To: <200411250927.iAP9Ru3b011839@repoman.freebsd.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/ngctl main.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 11:08:04 -0000 --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Nov 25, 2004 at 09:27:56AM +0000, Maxim Konovalov wrote: > maxim 2004-11-25 09:27:56 UTC >=20 > FreeBSD src repository >=20 > Modified files: > usr.sbin/ngctl main.c=20 > Log: > Increase a socket receive buffer size. This helps 'ngctl list' > to deal with a big number of nodes. > =20 > Submitted by: archie > Approved by: archie > Reported and tested: Konstantin Timashkov > MFC after: 1 month > =20 > Revision Changes Path > 1.17 +4 -2 src/usr.sbin/ngctl/main.c >=20 I think this hack is not necessary. On systems with lot of Netgraph nodes, increasing respective sysctls is the way to go. On one of our servers, we have the following in /etc/sysctl.conf: net.graph.recvspace=3D200000 net.graph.maxdgram=3D200000 Mentioning these in the ngctl(8) manpage with the symptoms that it may fix would be a good idea. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --jq0ap7NbKX2Kqbes Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBpb0UqRfpzJluFF4RAsetAJ0eHqa9pxrhtPzWmfdkgAKHSybqMACgm7xD Xr7SNwSnVJJ3VDQz97kKIPU= =JQqB -----END PGP SIGNATURE----- --jq0ap7NbKX2Kqbes--