[Dovecot] Debugging with strace
Timo Sirainen
tss at iki.fi
Wed May 10 18:41:28 EEST 2006
On Wed, 2006-05-10 at 10:20 -0500, Fran Fabrizio wrote:
> We have a dovecot install that is working fine for everyone except one
> user, who complains that it takes a minute or longer to delete a single
> message from the INBOX to Trash. This is happening for him from
> multiple IMAP clients so it appears to be server-side.
Are you using mboxes? Has his Trash mbox grown huge? Is this Dovecot
0.99.x or 1.0beta?
> I wanted to start up a test instance of dovecot alongside the production
> one and test there. So I copied dovecot.conf, put imap on port 10143,
> and started up the test server like this:
>
> # strace -tt dovecot -F -c /etc/dovecottest.conf
You want to give -f option also for strace.
> (I could not find the docs for -F but without it dovecot would quickly
> detatch into a daemon and I could no longer strace it... so is -F for
> putting dovecot in the foreground like I think? :-)
Yep.
> 1. My screen just scrolled continuously with poll calls - does dovecot
> poll something every second even when it has no clients connected?
Yep.
> 2. It appeared to interfere with the production install running
> alongside of it - as I could no longer authenticate to it or copy
> messages to my Sent folder when I sent something out through the
> production dovecot. I had to restart the production instance to get it
> to behave.
Change base_dir in dovecot.conf to something else.
-------------- 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/20060510/fd178590/attachment.pgp
More information about the dovecot
mailing list