Re: 2.1.133-1: NFS: Arghhh, stuck RPC requests!

Steffen Zahn (zahn@berlin.snafu.de)
Fri, 25 Dec 1998 17:13:31 +0100


>>>>> "Trond" == Trond Myklebust <trond.myklebust@fys.uio.no> writes:

Trond> Steffen Zahn <zahn@berlin.snafu.de> writes:
>> Hello,
>>
>> I get the following syslog messages on a NFS client under high NFS
>> load:
Trond> [snip]
>> Dec 23 17:04:33 zahn vmunix: RPC: rpciod waiting on sync task!
>>

Trond> Hi, Does the following patch get rid of them?

Trond> Cheers, Trond

Trond> Linus (if you're reading this): Shouldn't we really also be
Trond> protecting asynchronous read requests using a dput/dget? I'm
Trond> thinking about the case in which a silly-delete clobbers the
Trond> dentry/inode before the read request is handled.

[patch removed]

Now I get the messages below. The 'cache locked' messages appear
when I list several times the directory where the test is running
with ls -la. This is not related to the patch, it happens also
without the patch.

The 'Arghhh, stuck RPC requests' are no longer present after applying
the patch.

Steffen

Dec 25 16:34:07 zahn vmunix: NFS: cache locked for 00:04/687962222
Dec 25 16:34:17 zahn last message repeated 5 times
Dec 25 16:35:00 zahn /USR/SBIN/CRON[403]: (sz) CMD (/home/sz/tmp/crypt/primes/j)
Dec 25 16:36:02 zahn vmunix: NFS: cache locked for 00:04/687962222
Dec 25 16:36:05 zahn last message repeated 5 times
Dec 25 16:36:08 zahn vmunix: __nfs_fhget: inode 687962315 busy, i_count=2, i_nlink=1
Dec 25 16:36:08 zahn vmunix: nfs_free_dentries: found tmp/.nfs290178cb00001ddd, d_count=0, hashed=1
Dec 25 16:36:08 zahn vmunix: nfs_dentry_delete: tmp/.nfs290178cb00001ddd: ino=687962315, count=2, nlink=1
Dec 25 16:36:11 zahn vmunix: NFS: cache locked for 00:04/687962222
Dec 25 16:36:11 zahn last message repeated 2 times
Dec 25 16:37:08 zahn vmunix: nfs_lookup: tmp/tmp.tmp failed, error=-512
Dec 25 16:37:08 zahn last message repeated 13 times
Dec 25 16:37:08 zahn vmunix: RPC: rpciod waiting on sync task!
Dec 25 16:37:08 zahn last message repeated 2 times
Dec 25 16:37:08 zahn vmunix: nfs_lookup: tmp/tmp.tmp failed, error=-512
Dec 25 16:37:08 zahn vmunix: RPC: rpciod waiting on sync task!
Dec 25 16:37:08 zahn vmunix: RPC: rpciod waiting on sync task!
Dec 25 16:37:08 zahn vmunix: NFS: can't silly-delete tmp/.nfs29017871000026e8, error=-512
Dec 25 16:37:08 zahn vmunix: NFS: can't silly-delete tmp/.nfs290178d2000026df, error=-512
Dec 25 16:37:08 zahn vmunix: NFS: can't silly-delete tmp/.nfs290178d6000026a7, error=-512
Dec 25 16:37:08 zahn vmunix: NFS: can't silly-delete tmp/.nfs290178d0000026b5, error=-512
Dec 25 16:37:08 zahn vmunix: RPC: rpciod waiting on sync task!
Dec 25 16:37:18 zahn last message repeated 14 times

-- 
home email:  user@domain where domain=berlin.snafu.de, user=zahn
Use of my address for unsolicited commercial advertising is forbidden.
      2^3021377 - 1     |     "Where do you want to crash today?"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/