Trouble with NFSd under 6.1-Stable, any ideas?
howard at leadmon.net
Sun May 14 19:59:01 PDT 2006
Would this just be lockd, or should I disable both lockd and statd? I notice
in the rc.conf it claims they are both supposed to be enabled, so not sure
what issues I run into if I disable them, if any.
As to my servers, I have a bunch of stuff running actually. The Dual XEON
server being my fastest machine by far is my main server, off of that I have a
SPARC running Solaris10, I have another SPARC running FreeBSD 6.1, I have a
DEC Alpha running FreeBSD 4.11, and another old Dual XEON machine running
FreeBSD 4.11, and finally another x86 machine running FreeBSD 7 current.
This stuff has been doing great, I personally love FBSD, as you can tell from
what is loaded on most of the servers. It just blows my mind that now after
years of running the network like this, now something breaks. I get no errors
in syslog, and it IS serving requests, as I have some web pages on the old
4.11 machine and they come up, just slowly compared to what they used to do.
Oh well as they say, in the world of computers it's never easy.. LOL
Howard Leadmon - howard at leadmon.net
> -----Original Message-----
> From: Stephen Hurd [mailto:shurd at sasktel.net]
> Sent: Sunday, May 14, 2006 5:54 PM
> To: Howard Leadmon
> Cc: freebsd-stable at freebsd.org
> Subject: Re: Trouble with NFSd under 6.1-Stable, any ideas?
> 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
> > 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.
More information about the freebsd-stable