[Dovecot] possible nfs issue

Timo Sirainen tss at iki.fi
Wed Oct 3 01:35:20 EEST 2012


On 3.10.2012, at 0.45, Timo Sirainen wrote:

> On 3.10.2012, at 0.39, Cor Bosman wrote:
> 
>> With NFS these files are created when a file gets unlinked, but another process still has it open. It disappears as soon as the other process closes it. For some reason they dont disappear. As far as I can tell we've had no server crashes that could explain this.  One possible theory is that a rename happens after an unlink. In that case the file remains. This could possibly be a dovecot issue. 
> 
> How can a rename happen after unlink? The rename should fail. (Unless doing rename(.nfs1234, something), but Dovecot definitely isn't doing that.)

You could see if this old test program leaves .nfs files lying around:

http://dovecot.org/tmp/readdir.c

Just comment out the line:

		close(fd);




More information about the dovecot mailing list