[Dovecot] Unlock non existent locks

Timo Sirainen tss at iki.fi
Mon Aug 12 18:12:28 EEST 2013


On 6.8.2013, at 19.44, Thomas Hummel <hummel at pasteur.fr> wrote:

> On Mon, Aug 05, 2013 at 07:38:59PM +0300, Timo Sirainen wrote:
> 
>> The NFS workarounds code is doing some ugly stuff. I thought it would have, but looking at the code it doesn't seem so. But still easier to debug if you first see if the problem is with the NFS workarounds or the lib-index code. With lib-index you could also use lock_method=dotlock to see if that works better (although performance will be slightly worse also then).
> 
> I just tested mail_nfs_storage and mail_nfs_index both set to no : log messages
> are still here. They only stop when I stop dovecot.

What about with lock_method=dotlock? After that there should be no NFS locking in Dovecot at all.

Anyway, I don't think Dovecot is trying to unlock already unlocked files. The locking APIs that Dovecot uses makes that rather difficult to do.



More information about the dovecot mailing list