[Dovecot] Dovecot lock problem

Simon Gao Simon.Gao at schrodinger.com
Fri Oct 16 21:14:40 EEST 2009


On Friday 16 October 2009 11:04:33 Timo Sirainen wrote:
> 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.

No. All affected users use imap. This occurred after hard reboot of the imap 
server. 


More information about the dovecot mailing list