[Dovecot] Dovecot lock problem

Timo Sirainen tss at iki.fi
Fri Oct 16 21:04:33 EEST 2009


On Fri, 2009-10-16 at 10:46 -0700, Simon Gao wrote:
> On Tue, 2009-10-13 at 11:37 -0700, Simon Gao wrote:
> > We have a few users experiencing locking problem. When starting 
> > Thunderbird, there is no new emails in Inbox. Dovecot createa a lock file 
> > /var/spool/mail/<user>.lock. It never completes openning Inbox. If closing 
> > the mail client, the open imap session does not get closed, nor the lock 
> > file get deleted.
> 
> >What is the process doing? Check with "strace -p <imap process pid>"?
> >How large is the user's mailbox?
> 
> The size of inbox varies. Some is large, some are only a few hundred KB. If 
> the mailbox is large, it may take time to re-generate index and put lock on 
> inbox file until it's done.  However, it should not for smaller mailbox file. 

Are you using pop3? Do you have pop3_lock_session=yes? Other than that I
can't think of anything that could keep the lock file for a long time.
So strace would be helpful.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091016/f72b1ebb/attachment.bin 


More information about the dovecot mailing list