Oliver Schulze L.
2007-Jul-25 16:19 UTC
[Dovecot] Thunderbird body search and multiple imap process
Hi, I'm having an issue with dovecot and Thunderbird and it is reproducible all the time. You do many body search from TB and you end up with multiple imap processess consuming all the CPU and with linux load 20+ Setup: - Centos 4.5 - Thunderbird 2.0.0.5 - Dovecot 1.0-7_53.rc29 and 1.0.1-1_58.el4 How to reproduce: - have an imap account in Thunderbird with 12000+ emails - user maildir in dovecot - do a: ps auwx|grep user1|grep imap|wc -l - in the main window of TB, in the sarch box select "Entire Message" - search one random word and wait 30 seconds - search another random word and wait 30 seconds - search another random word and wait 30 seconds - search another random word and wait 30 seconds - do another: ps auwx|grep user1|grep imap|wc -l - watch that the user1 have now more imap process - watch the linux load, it just rocketed from 1 to 20 - killall -9 imap - watch the linux load return to 1 I'm thinking its TB fault, anyone has seen this issue too? Thanks Oliver -- Oliver Schulze L. | http://tinymailto.com/oliver Asuncion - Paraguay | http://www.solojuegos.mobi
Timo Sirainen
2007-Jul-25 17:21 UTC
[Dovecot] Thunderbird body search and multiple imap process
On 25.7.2007, at 19.19, Oliver Schulze L. wrote:> - in the main window of TB, in the sarch box select "Entire Message" > - search one random word and wait 30 seconds > - search another random word and wait 30 secondsDovecot v1.1 prevents this in two ways: 1) SEARCH gives a notification every 10 seconds that it's still in progress, so Thunderbird doesn't just assume the connection timed out. Or at least I hope it doesn't. 2) There's a setting to limit the number of mail processes for a user from the same IP. With v1.0 there's not much you can do about it. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070725/90f45990/attachment-0002.bin>
Oliver Schulze L.
2007-Jul-25 18:00 UTC
[Dovecot] Thunderbird body search and multiple imap process
Hi Timo, thanks for the info. Will look at TB's bugzilla if this is a know issue. Regards, Oliver Timo Sirainen wrote:> On 25.7.2007, at 19.19, Oliver Schulze L. wrote: > >> - in the main window of TB, in the sarch box select "Entire Message" >> - search one random word and wait 30 seconds >> - search another random word and wait 30 seconds > With v1.0 there's not much you can do about it.-- Oliver Schulze L. | http://tinymailto.com/oliver Asuncion - Paraguay | http://www.solojuegos.mobi