On Wed, 30 Apr 2003, Jerome BENOIT wrote:
> Now if I introduce a (new) loop to stuck the program at this place
> [`else if (errno == ENOTEMPTY) { sleep(2); continue; }'
> between the line 352 and 353]:
> the loop seem infinite;
> the directory `/tmp/lam-<USER>@<HOSTNAME>' is empty (according to `ls');
> BUT I cannot remove it with `rmdir'
> (who says that the directory is not empty).
>
> I hope that helps.
Ok - this actually could be quite helpful. When you are in the infinite
loop, the file is actually there, but hidden (nfs moves thinsg to
.nfs<some unique id>). Could you look to see if there is one of these
files? Unfortunately, the name will be meaningless to us (as NFS made the
name up), so it would be really useful if you could let us know what that
file is. If you could send the following, we can probably squash this bug
RSN:
* output of 'ls -la' of the LAM session directory
* run 'file <file>' on the NFS file name found from ls -la
* if 'file' says the file is text, the contents of the file would be
really useful.
We unfortunately don't have diskless machines to test on, so we need some
remote debugging help on this one :).
Thanks for your help!
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|