Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2006 14:02:18 -0500
From:      "Rong-En Fan" <grafan@gmail.com>
To:        stable@freebsd.org
Subject:   Re: nfsclient process stucks in nfsaio
Message-ID:  <6eb82e0603101102ke9cec8lde806f466a87e7bf@mail.gmail.com>
In-Reply-To: <6eb82e0603100940s7d505e26w5351d708b714aefe@mail.gmail.com>
References:  <6eb82e0603100940s7d505e26w5351d708b714aefe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

forget to mention all the clients/servers here are SMP kernel.
After some Googling, a post on current@ 2005/01/12
"NFS problems, locking up" is hightly related to my situation.
An workaround is to set debug.mpsafenet=3D0, just verified this
indeed works.

Now I'm turning on INVARIANTS, WITNESS to see if there
are some output. However, I'm afriad that I can not get a
serial console access to these machines (and thus no ddb
output :( ).

Thanks,
Rong-En Fan

On 3/10/06, Rong-En Fan <grafan@gmail.com> wrote:
> Hi,
>
> After upgrading several our nfs clients from 5.4-RELEASE to 6.0-RELEASE
> and some are now 6.1-PRERELEASE (a weeks ago). From time to time,
> we saw some processes stuck in nfsaio, and unkillable. These processes
> generate lots of traffic to nfs server (write to nfs, but nfs server's di=
sk does
> not really in write. from netstat, client sends ~100Mbps, on nfs server, =
iostat
> does not show me ~12.5MB/s). The nfsd on the server side is either in RUN
> or in ufs state. Server is running 5.5-PRELEASE as of yesterday.
>
> Client mount options: rw,nosuid,bg,intr,nodev. Both client and server
> are running
> rpc.lockd, rpc.statd. I'm sure it's not related to any locking problems.
>
> I have another set of nfs server/client both running 6.0-RELEASE. And I c=
an
> easily reproduce this situation on these two boxesnes, just by running
>
>   dd if=3D/dev/zero of=3D/nfs/ooo bs=3D1m
>
> If I do not add bs=3D1m, it works fine. Of all the boxes I mentioned abov=
e,
> I did not do anything special to kernel config, i.e., they are GENERIC w/=
o
> unnecessary devices and w/ firewal.  Basically, I can do anything on thes=
e
> two boxes (they are not in production mode). Any suggestion are welcome.
>
> Thanks,
> Rong-En Fan
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0603101102ke9cec8lde806f466a87e7bf>