[Dovecot] pop3_lock_session and NFS
Timo Sirainen
tss at iki.fi
Thu Nov 22 05:19:33 EET 2007
On Wed, 2007-11-21 at 22:08 +0100, salimlist at sdv.fr wrote:
> If I use the directive pop3_lock_session and enable it, that should
> block conccurent pop3 access using a lock file .
> Can I consider it safe enough to turn on the NFS cache (ie removing
> actimeo=0) ?
What OS do you use? I guess with pop3_lock_session=yes you should be
somewhat safe with Linux/Solaris, but not entirely. If you use BSDs then
locking doesn't work correctly.
I've been trying hard to figure out how NFS caches for for the last week
and I think today's the first day I've finally understood it all
correctly. :) I've been writing about those issues to
http://iki.fi/tss/nfs-coding-howto.html
With my newly found understanding even actimeo=0 isn't enough with v1.0,
at least if your NFS server doesn't support nano/microsecond resolution
for timestamps. And I should still do a few changes to v1.1's NFS cache
flushing..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071122/dd3cbd81/attachment.bin
More information about the dovecot
mailing list