Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2001 14:18:19 -0700
From:      Jeff Behl <jeff@expertcity.com>
To:        net@freebsd.org
Subject:   ENOBUFS and network performance tuning
Message-ID:  <3BB0F49B.8070704@expertcity.com>

next in thread | raw e-mail | index | archive | help
I have 4.3, and soon to be 4.4, boxes dedicated to a single app which 
basically 'bounces' traffic between two incoming TCP connections.  After 
around 240 sessions (each session consisting of two incoming connections 
with traffic being passed between them), I started getting ENOBUFS 
errors.  netstat -m showed mbuf's never peaked, so we increased 
kern.ipc.somaxconn from 128 -> 256.  Should this help the problem?

Any other guidelines to help tune a FreeBSD box for this sort of use 
would be greatly appreciated.  Currently, the only change we make is 
increasing MAXUSERS to 128, though I'm not sure this is the preferred 
approach.

Also, is there a definitive guide to what all the kernel variables 
(sysctl -a) are?

thanks
Jeff


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BB0F49B.8070704>