[Dovecot] How to debug slow operation

Timo Sirainen tss at iki.fi
Wed Oct 24 20:16:29 EEST 2007


On Tue, 2007-10-23 at 13:50 +0200, zbigniew szalbot wrote:
> mail_plugins(imap): quota imap_quota
> mail_plugins(pop3): quota
..
>   userdb:
>     driver: sql
>     args: /usr/local/etc/dovecot-postfix-sql.conf

Your strace showed lots of lstat() calls. Does your user_query in
dovecot-postfix-sql.conf return "dirsize" as the quota backend? That's a
really bad idea with maildir. Use "maildir" backend instead.
http://wiki.dovecot.org/Quota

-------------- 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/20071024/86966024/attachment.bin 


More information about the dovecot mailing list