+---- Guy Harris writes: | > In any event, it turned out to be a Solaris bug, filling the directories | > with thousands of .nfsxxxx turds, which was solved by the appropriate | > patch... | | What bug number and patch is that? I've seen other customers asking | about ".nfs" files with Solaris 2.x clients, in ways that suggest that | they might be getting bitten by that bug.
I don't think that it is a bug as such. .nfs files are created when an open file is deleted, this is an old trick for creating temporary files, they are automatically deleted when the program exits, however it exits. Basically it's a way of adding state to a stateless system. I am not sure if the nfs client ever tries to delete those file, I would guess that it attempts to but definitely doesn't always succeed so there is a cron job on all nfs filers I have seen that cleans up old .nfs files, typically something like:
find / -name .nfs* -mtime +7 -exec rm -f {} ; -o -fstype nfs -prune
/Michael