Bug 192216

Summary: kmail is unusabley slow at start up for ten minutes
Product: [Applications] kmail Reporter: William H. Nugent <whn-kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: axel, bjoern, bongartz, branislav.klocok, craig, fabio.coatti
Priority: NOR    
Version: 1.11.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description William H. Nugent 2009-05-10 12:51:37 UTC
Version:           1.11.3 (using 4.2.3 (KDE 4.2.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

Ever want to send a quick email and it takes ten minutes to write the first four or five words?  Started up kontact and kmail started to read the 40-ish email in the pop3 box and started doing something that ate up over 50% of the CPU and had the disk drive going crazy for ten minutes.
Comment 1 Fabio Coatti 2009-05-12 09:31:36 UTC
It happened to me also. While unable to reproduce reliabily it, a strace showed that kmail is rescanning all messages in all mailboxes when this happens.
Comment 2 Craig Van Degrift 2009-05-19 11:13:46 UTC
Same observation as Fabio Coatti.  Always happens when starting up KMail.  I believe that it first appeared after upgrading from Kubuntu 8.10 to Kubuntu 9.04.  My workaround is to start up KMail and do something else for 10 minutes until it finishes.
Comment 3 Harald H.-J. Bongartz 2009-07-15 08:38:55 UTC
I can confirm this behavior for KMail 1.11.4 in Kontact 1.4.4, Debian unstable.
Comment 4 Axel Schmidt 2009-11-15 17:14:15 UTC
I cano confirm this bevahior for KMail 1.12.2 on Kubuntu 9.10 and think it could be a duplicate of bug https://bugs.kde.org/show_bug.cgi?id=172519
Comment 5 Branislav Klocok 2009-12-19 23:05:26 UTC
Confirming the same behaviour on OpenSuse 11.2 KMail 1.12.4.
Comment 6 Björn Ruberg 2010-02-27 00:48:39 UTC

*** This bug has been marked as a duplicate of bug 166653 ***