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.