[Dovecot] Dovecot and fcntl errors

Timo Sirainen tss at iki.fi
Tue Oct 5 17:22:54 EEST 2004


On 5.10.2004, at 17:11, Eric Joe wrote:

> I am new to the list and after searching the net for a solution to this
> problem, I have yet to find it. Maybe someone here can help. I had been
> using Dovecot that came with FC2 for about 1200 POP3 and IMAP mail
> accounts. At random times (1-5 days) an imap process would run the cpu
> usage up to 99% on one of my cpus (Running SMP P3-866) and hang. That
> process was unkillable and only a reboot would fix the problem. If I 
> let
> it go, eventually it would lock up the server completely. I am seeing 
> this
> error in my /var/log/maillog

kill -9 wouldn't kill it? That's usually not a problem with the program 
itself.

> Oct  4 08:23:21 ns2 imap(editorial): Timeout while waiting for release 
> of
> exclusive
> fcntl() lock for index file 
> /home/editorial/mail/.imap/INBOX/.imap.index

This means that some process is doing something for a long time (5 mins 
or more) while another process is trying to access the mailbox. 
Typically this means that one connection is fetching lots of messages 
while another tries to open the same mailbox.

No real fix for 0.99. 1.0-tests don't have this problem anymore. I 
don't think this is a real problem though, mostly just annoying in log 
files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20041005/058c77fd/attachment-0001.bin>


More information about the dovecot mailing list