[Dovecot] Rare problem with Indexes?

Timo Sirainen tss at iki.fi
Fri Apr 25 01:41:22 EEST 2008


On Wed, 2008-04-09 at 09:04 -0700, richs at whidbey.net wrote:
> We've been running 1.1 rc3 now for about a month, and overall it's been 
> very fast and stable.
> 
> There is however an Index-related problem that keeps cropping up which 
> prevents a user from accessing their mailbox until their Indexes are 
> manually removed.
> 
> Somehow, an Index becomes problematic, and Dovecot hangs forever when 
> the mailbox is accessed.  It manifests when a user logs in and issues a 
> "SELECT INBOX", or "GETQUOTAROOT" when "maildirsize" needs rebuilding.
> 
> When Dovecot hangs, no data is returned and no further commands are 
> accepted, and the daemon must be killed.

Where is it hanging? Does strace show anything? Could you get gdb
backtrace? (gdb attach <pid>, bt full)

> We plan to "mail_debug" when this happens next to see if we can get more 
> information.

mail_debug isn't really useful for debugging anything except
configuration mistakes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080425/4022b73a/attachment.bin 


More information about the dovecot mailing list