From owner-freebsd-questions Wed Mar 21 13:12:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bach.Graphics.Cornell.EDU (bach.graphics.cornell.edu [128.84.247.50]) by hub.freebsd.org (Postfix) with ESMTP id 287CD37B718 for ; Wed, 21 Mar 2001 13:12:46 -0800 (PST) (envelope-from hurf@Graphics.Cornell.EDU) Received: from graphics.cornell.edu (barn.graphics.cornell.edu [128.84.247.210]) by bach.Graphics.Cornell.EDU (8.9.1/8.9.1) with ESMTP id QAA26997; Wed, 21 Mar 2001 16:10:25 -0500 (EST) (envelope-from hurf@graphics.cornell.edu) Message-ID: <3AB918B5.A4F512A5@graphics.cornell.edu> Date: Wed, 21 Mar 2001 16:10:13 -0500 From: Hurf Sheldon Organization: PCG X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Steve Curry Cc: "Hartmann, O." , freebsd-questions@FreeBSD.ORG Subject: Re: NFS performance tweaking References: <20010321204234.34297.qmail@web13103.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Assuming you don't have a network or card problem ( a quick look with netstat or at switch statistics for collision counts on affected systems can indicate a problem) Try this: Run `dmesg` and see if you have any messages from nfsgetpages or re: nmbuf(?) - if so (or in any case), upping "MAXFILES" and "NMBCLUSTERS" in the kernel may fix the problem. You can also do both by increasing "MAXUSERS", which is used as a seed in allocation macros. If you have a dmesg entry "ICMP_BANDLIM " you may want to take this out of the kernel and see if the problem goes away - we had a similar problem with a 3.2 based NFS server and after some digging around decided (for a good reason not recalled) that it was best on a heavily used NFS server to not have "ICMP_BANDLIM " in the kernel. (I'm assuming that you are familiar with building a kernel. If not it is easy to learn either from the handbook or the web pages or I'd be happy to send you pointers [which is has it's own risks ] ) hurf Steve Curry wrote: > Hartmann, > > It could be your timeout settings, but then again I > don't *really* know whats going on at your site (maybe > network issues?). I would recommend the "Managing NFS > and NIS" from O'Reilly. It was published back in 1991 > but it's still jam packed with good information. It > even has a chapter on checking performance and > tweaking, so it sounds as if it would be a good fit > for you. > > My 2 cents, > > Steve Curry > Technical Yahoo > Yahoo, Inc. > > --- "Hartmann, O." > wrote: > > > > Dear Sirs. > > > > Our main NFS server fails very often in serving fast > > enough its > > services and on several clients I get the message > > "nfs server not > > responding", later "... live again". > > > > Sometimes the server is really under heavy loead, > > sometimes not. > > I think it is a task of "tweaking", I saw a lot of > > stuff in the kernel > > and via sysctl -A in the kernel paramameters. > > > > Does anyone has a suitable hint waht to set for > > these parameters > > (prefereable in the kernel ...)? > > > > Thanks a lot ... > > > > Oliver > > > > -- > > MfG > > O. Hartmann > > > > ohartman@klima.physik.uni-mainz.de > > > ---------------------------------------------------------------- > > IT-Administration des Institut fuer Physik der > > Atmosphaere (IPA) > > > ---------------------------------------------------------------- > > Johannes Gutenberg Universitaet Mainz > > Becherweg 21 > > 55099 Mainz > > > > Tel: +496131/3924662 (Maschinensaal) > > Tel: +496131/3924144 > > FAX: +496131/3923532 > > > > -- > > MfG > > O. Hartmann > > > > ohartman@klima.physik.uni-mainz.de > > > ---------------------------------------------------------------- > > IT-Administration des Institut fuer Physik der > > Atmosphaere (IPA) > > > ---------------------------------------------------------------- > > Johannes Gutenberg Universitaet Mainz > > Becherweg 21 > > 55099 Mainz > > > > Tel: +496131/3924662 (Maschinensaal) > > Tel: +496131/3924144 > > FAX: +496131/3923532 > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of > > the message > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Hurf Sheldon Dir. Research Systems Program of Computer Graphics 580 Rhodes Hall, Hoy Rd. Cornell University Ithaca, N.Y. 14853 voice:607 255 6713 fax:607 255 0806 email: hurf@graphics.cornell.edu http://www.graphics.cornell.edu/~hurf/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message