Bug 309963

Summary: Deleting any mail causes heavy system load
Product: [Applications] kdepim Reporter: Steve <sgrubb>
Component: libkdepimAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: major CC: montel
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steve 2012-11-12 13:53:23 UTC
Deleting any email takes forever and causes heavy system load. Kmail 3 was light and fast, kmail4 consumes lots of resources.

  PID   USER      PR  NI  VIRT     RES    SHR S %CPU %MEM    TIME+  COMMAND      
 2068 sgrubb    39  19 1372m 371m 6920 S 158.2  6.3  19:14.60 virtuoso-t
 2074 sgrubb    20   0 2919m 503m  59m S  2.3  8.5   0:43.96 kontact  
 2063 sgrubb    39  19 1755m  47m  24m S  6.3  0.8   1:09.00 nepomukservices

Reproducible: Always

Steps to Reproduce:
1. Delete an email
2. wait 5 minutes for it to delete
Actual Results:  
It takes minutes to delete an email which took a second or two under kmail3.

Expected Results:  
Gone in a second or two

Even after deleting email, kmail causes heavy load for 10's of minutes to an hour later. This really eats laptop battery.
Comment 1 Steve 2013-01-04 13:57:51 UTC
Is there anything I can provide to help diagnose the problem? This is a horrible user experience as it stands. I find that if I close kontact and restart it, only the "New Message" button shows up. When I close its again, a "Mail - Kontact is not responding." dialogue shows up. Killing it again and again eventually causes something to get freed up and Kontact sort of works as you would expect. So, to me this sounds a lot like a synchronization issue.

I also have some Coverity scan reports that show lots of different problems. If someone from KDE wants to see them, email me. Would be happy to share if it helps.
Comment 2 Laurent Montel 2013-01-04 14:10:43 UTC
"some Coverity scan reports that show lots of different problems" if you can send me them
I can try to fix some bugs/problems.
Comment 3 Denis Kurz 2016-09-24 21:00:00 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kdepim (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:45:19 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.
Comment 5 Steve 2017-01-08 20:48:29 UTC
This problem still exists. Its takes about 45 minutes from start up until kontact is usable. kontact-16.08.3-2.fc24.x86_64, kdepim-16.08.3-2.fc24.x86_64.