From owner-freebsd-stable@FreeBSD.ORG Sun May 14 21:54:20 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7B6116A400 for ; Sun, 14 May 2006 21:54:20 +0000 (UTC) (envelope-from shurd@sasktel.net) Received: from misav02.sasknet.sk.ca (misav07.sasknet.sk.ca [142.165.20.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60AA043D46 for ; Sun, 14 May 2006 21:54:20 +0000 (GMT) (envelope-from shurd@sasktel.net) Received: from bgmpomr1.sasknet.sk.ca ([142.165.72.22]) by misav07 with InterScan Messaging Security Suite; Sun, 14 May 2006 15:54:19 -0600 Received: from [192.168.0.193] ([142.165.59.202]) by bgmpomr1.sasknet.sk.ca (SaskTel eMessaging Service) with ESMTPA id <0IZ90062GZIH2S10@bgmpomr1.sasknet.sk.ca> for freebsd-stable@freebsd.org; Sun, 14 May 2006 15:54:19 -0600 (CST) Date: Sun, 14 May 2006 15:54:17 -0600 From: Stephen Hurd In-reply-to: <017301c67784$45377a90$071872cf@Leadmon.local> To: Howard Leadmon Message-id: <4467A709.1070700@sasktel.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <017301c67784$45377a90$071872cf@Leadmon.local> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.1) Gecko/20060413 SeaMonkey/1.0 Cc: freebsd-stable@freebsd.org Subject: Re: Trouble with NFSd under 6.1-Stable, any ideas? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 21:54:20 -0000 Howard Leadmon wrote: > Hello All, > > I have been running FBSD a long while, and actually running since the 5.x > releases on the server I am having troubles with. I basically have a small > network and just use NIS/NFS to link my various FBSD and Solaris machines > together. > > This has all been running fine up till a few days ago, when all of a sudden > NFS came to a crawl, and CPU usage so high the box appears to freeze almost. > When I had 6.1-RC running all seemed well, then came the announcement for the > official 6.1 release, so I did the cvs updates, made world, kernel, and ran > mergemaster to get everything up to the 6.1 stable version. > > Now after doing this, something is wrong with NFS. It works, it will return > information and open files, just it's very very slow, and while performing a > request the CPU spike is astounding. A simple du of my home directory can > take minutes, and machine all but locks up if the request is done over NFS. > Here is top snip: > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 497 root 1 4 0 1252K 780K - 2 50:42 188.48% nfsd > > > This is a nice IBM eServer with dual P4-XEON's and a couple GB or RAM on a > disk array, and locally is screams, heck NFS used to scream till I updated. I > am not really sure what info would be useful in debugging, so won't post tons > of misc junk in this eMail, but if anyone has any ideas as to how best to > figure out and resolve this issue it would sure be appreicated... > Are you running rpc.lockd? I've had very bad luck with it since sometime in the 5.x series... especially with it interoperating with Solaris. I submitted a PR on it, but it's apparently broken in about X ways. If possible, I would suggest living without rpc.lockd for now (if you're currently living with it that is) Other than that issue, NFS itself has been working nicely for me.