From owner-freebsd-questions@FreeBSD.ORG Wed May 19 15:11:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB37316A4CE; Wed, 19 May 2004 15:11:23 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5426A43D1D; Wed, 19 May 2004 15:11:23 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i4JMApsA069924; Wed, 19 May 2004 17:10:51 -0500 (CDT) (envelope-from dan) Date: Wed, 19 May 2004 17:10:50 -0500 From: Dan Nelson To: Eric Anderson Message-ID: <20040519221048.GA86452@dan.emsphone.com> References: <40ABD7C8.7050405@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40ABD7C8.7050405@centtech.com> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Max NFSD processes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 22:11:23 -0000 In the last episode (May 19), Eric Anderson said: > I have several heavily used NFS servers, currently running FreeBSD > 4.9-RELEASE. I'm getting jammed up with all my nfsd processes being > busy, so clients see slow connections to the server. I have the nfsd > starting with a count of 20, which is the max set in the nfsd.c file. > > Are there any risks I should be aware of before bumping up the max to > say 40, or even 50? > > What would it take to make this a sysctl adjustable value? > > Should the max be bumped higher by default nowdays? What's the output of "ps ax | grep nfsd"? How much CPU does the last nfsd process have? If your backend storage is a RAID with lots of disks, and your last nfsd is actually getting some use, then bumping up the nfsds will probably help. Although if you're hitting a kernel bottleneck (locking for example), more nfsds won't do any good. -- Dan Nelson dnelson@allantgroup.com