[Dovecot] IMAP activity after disconnect

Timo Sirainen tss at iki.fi
Mon Sep 7 04:37:33 EEST 2009


On Sat, 2009-08-29 at 01:57 -0400, Charles Sprickman wrote:
> [root at nac /var/vmail/xxx.com/spork/Maildir/.Spam]# ls new/| wc 
> -l
>     70501
> 
> Mail.app valiantly tried to sync this, but when I realized just how huge 
> this was, I took the account offline and quit the app.  However it seems 
> like Dovecot is still busy doing something in that mailbox:

It's most likely busy moving all the messages from new/ to cur/. You
could have checked that with strace.

> My guess is it's trying to build an index.  This process is chewing up 
> 100% of whatever cpu it lands on.  Is this expected behavior (not the huge 
> cpu usage, but the imap server continuing to work on the box after the 
> client has logged out)?

Yes. These kind of long-running tasks are very rare, so I haven't
bothered adding any "is client still there?" checks to the code.

> Are there any config settings I've missed to sort of put a cap on how much 
> cpu/time dovecot will spend on a task like this?

Nope.
-------------- 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/20090906/8a1037cd/attachment.bin 


More information about the dovecot mailing list