From owner-freebsd-performance@FreeBSD.ORG Thu May 26 17:47:50 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EFE616A41C for ; Thu, 26 May 2005 17:47:50 +0000 (GMT) (envelope-from pfak@telus.net) Received: from priv-edtnes51.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id C95EF43D48 for ; Thu, 26 May 2005 17:47:49 +0000 (GMT) (envelope-from pfak@telus.net) Received: from localhost ([199.185.220.240]) by priv-edtnes51.telusplanet.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050526174748.TFKI4603.priv-edtnes51.telusplanet.net@localhost> for ; Thu, 26 May 2005 11:47:48 -0600 Received: from 64.180.103.26 ( [64.180.103.26]) as user a1b26634@192.168.200.1 by webmail.telus.net with HTTP; Thu, 26 May 2005 10:47:48 -0700 Message-ID: <1117129668.42960bc4b751b@webmail.telus.net> Date: Thu, 26 May 2005 10:47:48 -0700 From: Peter Kieser To: freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 64.180.103.26 Subject: Performance/lockup issues with FreeBSD as a router X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 17:47:50 -0000 Hello guys, I'm not quite sure if this is the right list to address this to, as it's partly a performance problem and partly otherwise. I have a FreeBSD machine acting as a router (doing approx. 15-25Mbit/s of traffic (lot's of small packets, about 45,000 pps)), however I'm currently running into issues where one, or both of the NICs will stop transmitting traffic. When I go onto the machine, and try to ping something I get "No buffer space available" The nics are if_dc, this is a stock FreeBSD 5.4-RELEASE installation (no firewall or anything): Here's my /etc/sysctl.conf: net.inet.ip.rtexpire=1800 net.inet.ip.rtminexpire=1800 kern.maxfiles=32768 kern.maxfilesperproc=32768 kern.ipc.somaxconn=32767 net.inet.tcp.sendspace=256000 net.inet.tcp.recvspace=256000 kern.ipc.maxsockbuf=2097152 net.inet.ip.fastforwarding=1 net.inet.tcp.rfc1323=1 net.link.ether.inet.max_age=600 net.inet.tcp.msl=7500 net.inet.ip.fw.dyn_udp_lifetime=10 net.inet.ip.fw.dyn_buckets=1024 And here's my /boot/loader.conf: kern.ipc.maxsockets="163840" kern.maxusers="2048" Is there anythign I'm overlooking that would be causing the machine to lockup like this? --Peter