From owner-freebsd-net Mon Apr 2 3:14:11 2001 Delivered-To: freebsd-net@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id A6EE237B719 for ; Mon, 2 Apr 2001 03:14:05 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 2248 invoked by uid 1000); 2 Apr 2001 10:12:56 -0000 Date: Mon, 2 Apr 2001 13:12:56 +0300 From: Peter Pentchev To: Dmitry Samersoff Cc: Daniel O'Connor , freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Dynamic routing table (problem solved, was: server continue dies) Message-ID: <20010402131256.M462@ringworld.oblivion.bg> Mail-Followup-To: Dmitry Samersoff , Daniel O'Connor , freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG References: <3AC84E79.12762A22@wplus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AC84E79.12762A22@wplus.net>; from dms@wplus.net on Mon, Apr 02, 2001 at 02:03:37PM +0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Apr 02, 2001 at 02:03:37PM +0400, Dmitry Samersoff wrote: > My servers had died every 12h and I spend lots of time to solve problem, > I hope the result of my work is interesting for community. > > The main reason of server fault is overloading of dynamic routing table > (netstat -nra | grep W3) > > Another point - the same software running on non-Intel server > (no-name PC with AHA SCSI and DEC net card) works without problems. > > > I. > Behavior of dynamic routing table controlled by sysctl variables: > net.inet.ip.rtexpire > net.inet.ip.rtminexpire > net.inet.ip.rtmaxcache > > IMHO, default values of this variables should be changed to make heavy > loaded > servers more reliable or at least it should be documented. I believe the reason those are sysctl's, instead of hard-wired kernel values, is that they be made tweakable (/etc/sysctl.conf comes to mind). As to documentation, yeah, that's a common problem for all the sysctl's :( G'luck, Peter -- Do you think anybody has ever had *precisely this thought* before? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message