Stan Hoeppner
2010-May-07 05:02 UTC
[Dovecot] Thunderbird very slow startup, 1.2.11, mbox, postfix local delivery to /var/mail
I've Google'd to exhaustion and can't seem to find an answer to my problem. I'm not sure if the problem is TBird 3 or my Dovecot setup. The basic problem is that when I launch TBird and it grabs messages upon startup, it takes forever to supposedly pull them down. Once it's got them they sort relatively quickly into the proper IMAP (dovecot) folders. I don't use sieve yet; I sort with TBird rules. I don't sync messages for offline use. The only thing TB stores locally is the index cache, which I deleted and had TB rebuild once, which didn't help. All that did was waste more time, as I've got 40,000 messages in my IMAP folders which had to be re-indexed by TB. (I save all list mail for future searching). As an example of this problem, I'd not checked my email for just over day, had ~300 messages waiting in /var/mail/stan. TBird starts pulling them from dovecot and says in the status bar "downloading x of ~300". As I watch the count tick up +10 at a whack, the TB process is pegged at 100%, there is zero network activity, and the imap process on the server shows zero cpu use. It took over 60 seconds to "pull" the messages, after which TB sorted them. During the apparent sorting process, there is quite a bit of network activity and the imap process on the server is relatively busy. I say "pull" in quotes because the entire time TB is saying it's pulling more messages there is no network activity. The client and server are plugged into the same 100BaseT FDX switch (FDX verified), and the server has zero load. I know TBird isn't the greatest IMAP client around, but I think taking over 60 seconds just to download ~300 messages is way too damn long given the hardware resources, network, and load on the client and server machines. TB basically seems to be pulling, or dovecot serving, only about 5 messages/sec over 100Mb ethernet, which is abysmal performance given neither the server nor client have any load. The messages are mostly list mail which are at max a few kilobytes each. I'm leaning toward a problem with TBird but I've been unable to find a bug report that covers this, nor a forum post anywhere, etc. The closest I've found for "slow startup" are recommendations to compact folders. I have no local folders to compact. I delete immediately and expunge on exit. Anyone have any ideas? Other than switching to LDA+sieve and have TB check the IMAP folders for new mail? -- Stan
Eray Aslan
2010-May-07 05:44 UTC
[Dovecot] Thunderbird very slow startup, 1.2.11, mbox, postfix local delivery to /var/mail
On Fri, May 07, 2010 at 12:02:33AM -0500, Stan Hoeppner wrote:> Anyone have any ideas? Other than switching to LDA+sieve and have TB check > the IMAP folders for new mail?Try turning off indexing on Thunderbird. -- Eray
Charles Marcus
2010-May-07 10:29 UTC
[Dovecot] Thunderbird very slow startup, 1.2.11, mbox, postfix local delivery to /var/mail
On 2010-05-07 1:02 AM, Stan Hoeppner wrote:> I know TBird isn't the greatest IMAP client around,Actually, its better than most (at least those with a decent GUI)...> but I think taking over > 60 seconds just to download ~300 messages is way too damn long given the > hardware resources, network, and load on the client and server machines.There is definitely something wrong. Do you store your profile on a remote filesystem? There is a known major TB bug that causes it to be dog slow if your profile is not on a local hard drive. It is apparently fixed for 3.1, and I think it even made it into the 3.1b2 that was just released, so you might give it a try if your profile is on a remote filesystem.> TB basically seems to be pulling, or dovecot serving, only about 5 > messages/sec over 100Mb ethernet, which is abysmal performance given neither > the server nor client have any load. The messages are mostly list mail > which are at max a few kilobytes each. > > I'm leaning toward a problem with TBird but I've been unable to find a bug > report that covers this, nor a forum post anywhere, etc. The closest I've > found for "slow startup" are recommendations to compact folders. I have no > local folders to compact. I delete immediately and expunge on exit.Ummm... compacting has nothing to do with 'Local Folders', it has to do with the local mbox files that are used to store the message headers (and bodies of downloaded messages) - and simply expunging is *not* enough. You need to either manually compact them every now and then, or set it to automatically compact regularly. -- Best regards, Charles