Date: Thu, 25 Nov 2004 13:08:04 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Maxim Konovalov <maxim@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/ngctl main.c Message-ID: <20041125110804.GB25402@ip.net.ua> In-Reply-To: <200411250927.iAP9Ru3b011839@repoman.freebsd.org> References: <200411250927.iAP9Ru3b011839@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041125110804.GB25402>