Bug 109178

Summary: Deleting files takes TOO MUCH CPU-time
Product: [Applications] kmail Reporter: mi+kde
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.9.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description mi+kde 2005-07-16 16:40:31 UTC
Version:           1.8.1 (using KDE 3.4.1, compiled sources)
Compiler:          gcc version 3.4.2 [FreeBSD] 20040728
OS:                FreeBSD (amd64) release 5.4-STABLE

Deleting 12 messages from an IMAP folder (which in my setup involves moving them into local Trash) just took around 20 seconds (which is fine) during which kmail kept using about 42% of my Opteron:

21516 mi       123    0   202M 86424K RUN      0:41 42.14% 42.14% kmail

What can kmail possibly be doing? One would think, it ought to be sitting in some select() somewhere most of the time...
Comment 1 Andreas Gungl 2006-11-28 18:18:09 UTC
Deleting 6000+ messages from a folder in a DIMAP account starts with a rate of 1-2 msgs/sec on a P-IV 2.8 GHz machine. The rate increases depending on the decrease of the number of msgs in the folder.
Comment 2 Ismail Onur Filiz 2006-11-30 00:36:04 UTC
This might be related to bug 87857.
Comment 3 Andreas Gungl 2006-11-30 09:40:58 UTC
You're right. Thanks for pointing out.

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