[lkml]   [2008]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Many open/close on same files yeilds "No such file or directory".
On Friday May 9, wrote:
> When I disabled the NFS-server and rand my "real-world" program on a
> single processor (make -j 1). It ran through fine. It basically
> gets around 20 million chunks out of differnet file and assemble the
> chuncks in a few other files. This processes more or less 5 individual
> sections, so make can run effectively with a concurrency of 5.

(For linux-nfs readers: the problem is that repeatedly opening a given
file sometimes returns a ENOENT -

The mention of an NFS-server made my ears prick up...

Do I understand correctly that the problem only occurs when you have
48 clients hammering away at the filesystem in question?

Could the clients be accessing the same file that you are experiencing
problems with? Or one of the directories in the path (if so, how

How many different files to these 20 million chunks come from? And
how does that number compare with the first number from
grep dentry /proc/slabinfo

The NFS server does some slighty strange things with the dcache if the
object being access is not in the cache.

Also, can get a few instances of
grep '^fh' /proc/nfs/rpc/nfsd

while things are going strange. The numbers are:
* fh <stale> <total-lookups> <anonlookups> <dir-not-in-dcache> <nondir-not-in-dcache>

That will show us if it is looking for things that aren't in the

Finally, if the filesystem export with "subtree_check" or
Does it make a difference if you switch the setting of this flag and


 \ /
  Last update: 2008-05-12 03:57    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean