[Dovecot] NFS lock contention for dovecot-uidlist
Doug Council
dcouncil at nethere.com
Mon May 21 05:37:33 EEST 2007
On May 20, 2007, at 5:43 PM, Timo Sirainen wrote:
> If the lock file is really stale, updating mtime might cause the
> lock to
> never be overwritten.
>
> Would it work if you chown()ed the lock file to its current uid/gid
> (that lstat() returned) instead?
Yes, that worked as well. I've attached the diff for what I changed.
Thanks for the suggestion.
-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file-dotlock.c.diff
Type: application/octet-stream
Size: 619 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070520/9b0451e0/attachment.obj
-------------- next part --------------
More information about the dovecot
mailing list