On Tue, 2007-11-27 at 11:38 -0700, Jackie Hunt wrote:
Thanks for the suggestion on the truss command, Timo:
"truss -d -rO -w1"
We have seen the imap process consuming 100% CPU again, and this time I was able to get a trace, but it's too long to post to the list. I've sent a copy to Timo. Let me know if anyone else would like a copy of it.
This user is running Thunderbird on Solaris, and has at least two IMAP connections open continuously, one to a UofW server running on Solaris (I think), the other to Dovecot running on AIX. He has problems with the Dovecot connection hanging on him each morning. Thunderbird shows an hourglass, but he gets not indication of what is happening. He has to shut down Thunderbird to get it working again. It's a bit ironic/humorous, but his UofW connection is fine in Thunderbird, and that's how he notifies me his Dovecot imap is hung up.
Problem was that it was reading a 50MB mail in 12kB blocks, and Dovecot wasn't handling that very well. Fixed:
http://hg.dovecot.org/dovecot-1.0/rev/0fba164c6ba6 http://hg.dovecot.org/dovecot-1.0/rev/edd95f9c6ba4