[Dovecot] dovecot-uidlist locking

Timo Sirainen tss at iki.fi
Wed Aug 1 13:10:12 EEST 2007


On Tue, 2007-07-24 at 11:58 +0300, Timo Sirainen wrote:
> On 24.7.2007, at 11.33, Tony Tsang wrote:
> 
> > I've a dovecot server setup and occassionally clients cannot get mails
> > from their inbox. When I inspect the maildir for that user, there is
> > stale dovecot-uidlist.lock file, and imap process keeps waiting for
> > release of the lock. Is there any other method to perform locking on
> > dovecot-uidlist instead of using dotlock mechanism?
> >
> > It is creating maintenance problems if I need to remove those stale
> > lock files everytime clients hit this problem
> 
> The lock is overridden after 2 minutes of waiting. I suppose it  
> should be overridden immediately if it's too old though.. Hmm. I'll  
> try to do something about this for 1.0.3.

Actually I was wrong about this. The lock is deleted immediately if
dovecot-uidlist.lock's and dovecot-uidlist's ctime and mtime are all
older than 2 minutes.

-------------- 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/20070801/d747faf3/attachment.bin 


More information about the dovecot mailing list