From owner-freebsd-performance@FreeBSD.ORG Thu May 26 21:15:16 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 B51F216A41C for ; Thu, 26 May 2005 21:15:16 +0000 (GMT) (envelope-from tec@mega.net.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6C2943D1F for ; Thu, 26 May 2005 21:15:14 +0000 (GMT) (envelope-from tec@mega.net.br) Received: from [200.152.82.190] ([200.152.82.190]) by msrv.matik.com.br (8.13.1/8.12.11) with ESMTP id j4QLFdF5045253 for ; Thu, 26 May 2005 18:15:39 -0300 (BRST) (envelope-from tec@mega.net.br) From: "T.D.Wipnet (H.M.)" To: freebsd-performance@freebsd.org Date: Thu, 26 May 2005 18:14:59 -0300 User-Agent: KMail/1.8 References: <1117129668.42960bc4b751b@webmail.telus.net> In-Reply-To: <1117129668.42960bc4b751b@webmail.telus.net> Organization: Wipnet Telecom Ltda MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505261815.02909.tec@mega.net.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on msrv.matik.com.br X-Virus-Status: Clean Subject: Re: Performance/lockup issues with FreeBSD as a router X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tec@mega.net.br List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 21:15:16 -0000 On Thursday 26 May 2005 14:47, Peter Kieser wrote: > 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" > stopping transmitting anything or only your ping tries? > 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" > if your pc is really only a router you probably have a lot of unessessary stuff in here, your extremly high settings for maxuser, maxfiles and somaxcons is somewhat useless here and could slow your machine down, anyway, this is not a p-III 600 with 128MB of ram isn't it? "no buffer space available" appears often when the buffer is used so that means that if your connections are bad the buffer gets filled because if your connections are good why the buffer should be used? - then it goes straight out ... I guess that probably your Nics, cables, hubs or even the "where it goes" may have a problem Hans -- WIPNET Telecom Ltda. http://wip.mega.net.br http://wip.mega.net.br/tec.asc