cvs commit: src/usr.sbin/ngctl main.c
Ruslan Ermilov
ru at FreeBSD.org
Thu Nov 25 03:08:04 PST 2004
Hi,
On Thu, Nov 25, 2004 at 09:27:56AM +0000, Maxim Konovalov wrote:
> maxim 2004-11-25 09:27:56 UTC
>
> FreeBSD src repository
>
> Modified files:
> usr.sbin/ngctl main.c
> Log:
> Increase a socket receive buffer size. This helps 'ngctl list'
> to deal with a big number of nodes.
>
> Submitted by: archie
> Approved by: archie
> Reported and tested: Konstantin Timashkov
> MFC after: 1 month
>
> Revision Changes Path
> 1.17 +4 -2 src/usr.sbin/ngctl/main.c
>
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=200000
net.graph.maxdgram=200000
Mentioning these in the ngctl(8) manpage with the symptoms that it
may fix would be a good idea.
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20041125/9394d1f1/attachment.bin
More information about the cvs-all
mailing list