[Dovecot] Re: time out error and email with attachments

Mark Plaksin happy at usg.edu
Wed Oct 5 21:21:37 EEST 2005


Mark Plaksin <happy at usg.edu> writes:

> Roberto Cipollini <roberto.cipollini at allmediasolution.com> writes:
>
>> "imap(roberto.cipollini at allmediasolution.com): Oct 04 17:35:03 Error: 
>> Timeout while waiting for release of exclusive fcntl() lock for index 
>> file /mail/allmediasolution.com/roberto.cipollini/.INBOX/.imap.index "
>
> I have a similar problem with Dovecot 1.0.alpha3 on a Solaris 9 box.  The
> only thing accessing my folders is a single imap process (i.e., the Dovecot
> imap binary).  I haven't seen this log message but I do see hangs; gdb
> shows this stack trace:
>
> #0  0xff11c32c in _private_fcntl () from /usr/lib/libc.so.1
> #1  0xff1162c8 in s_fcntl () from /usr/lib/libc.so.1
> #2  0x00038e80 in mbox_lock_fcntl ()
> #3  0x00039094 in mbox_update_locking ()

I just got a different hang while downloading a large attachment:

#0  0xff11dbb4 in _poll () from /usr/lib/libc.so.1
#1  0x0006c784 in io_loop_handler_run (ioloop=0x9f330) at ioloop-poll.c:142
#2  0x0006c164 in io_loop_run (ioloop=0x9f330) at ioloop.c:230
#3  0x00028660 in main (argc=652080, argv=0x962c8, envp=0x0) at main.c:229

Again, I'm not skillful enough with gdb to tell whether this is poll()
hanging or whether Dovecot is looping and calling poll multiple times.
Next time I'll run truss before gdb!

After starting a new IMAP session, the large attachment downloaded fine.



More information about the dovecot mailing list