[lkml]   [1999]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: NFS got stuck on 2.3.22
Here is a script that reproduces the problem for me.

I don't know if it requires you to have a double mount (an NFS mount
under another NFS mount), but it seems to work perfectly in my setup

Put this script in the exported directory on the server and run it on the

--- (or whatever) ---

head -c1m /dev/zero > growfile
while true ; do
head -c12 /dev/zero >> growfile

On the client, cat or cp growfile to /dev/null. Viola. I'm testing this
over 100 Mbit ethernet with the userspace NFS daemon. The first time I
tried the "cp", ^C worked after a few seconds. The second time, it
blocked completely and still hasn't unblocked. "ps l" shows
"wait_on_page", and "echo 0 > /proc/sys/sunrpc/rpc_debug" shows similar
output as before.
My mount options are:

foo:/ on /foo type nfs (rw,soft,intr,nolock,timeo=8,retrans=8,rsize=4096,wsize=4096,addr=
foo:/d1 on /foo/d1 type nfs (rw,soft,intr,nolock,timeo=8,retrans=8,rsize=4096,wsize=4096,addr=

(I was testing in the directory /foo/d1/ ...)


[ Stormix Technologies Inc. ][ NetNation Communcations Inc. ]
[ ][ ]
[ Opinions expressed are not necessarily those of my employers. ]

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean