From owner-freebsd-net Tue Sep 25 14:18:51 2001 Delivered-To: freebsd-net@freebsd.org Received: from host3.expertcity.rangefire.net (host1.expertcity.rangefire.net [216.64.159.146]) by hub.freebsd.org (Postfix) with ESMTP id 63F8437B40C for ; Tue, 25 Sep 2001 14:18:49 -0700 (PDT) Received: from [10.4.1.134] (helo=expertcity.com) by host3.expertcity.rangefire.net with esmtp (Exim 3.22 #4) id 15lzbH-0000ZY-00 for net@freebsd.org; Tue, 25 Sep 2001 14:18:46 -0700 Message-ID: <3BB0F49B.8070704@expertcity.com> Date: Tue, 25 Sep 2001 14:18:19 -0700 From: Jeff Behl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: net@freebsd.org Subject: ENOBUFS and network performance tuning Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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