Bug 223763

Summary: sometimes sending mails lasts many seconds - virtuoso/akonadi related ?
Product: [Unmaintained] kmail Reporter: Martin Koller <kollix>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: karl
Priority: NOR    
Version: 1.13.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Koller 2010-01-22 10:46:19 UTC
Version:           1.13.0 (using 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1)) "release 212", KDE:KDE4:Factory:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.8-0.1-desktop

Sometimes when sending a mail, the virtuoso server goes to eat the whole CPU for 10-20 seconds.
During that time, kmail shows only the greyed out composer window and can not do anything else, e.g. I can not select a different mail.

I was hoping that decoupling many things into akonadi solves the problem with a blocking UI, but obviously there is still something borked.
Comment 1 Thomas McGuire 2010-01-22 10:59:24 UTC
The problem is that we are using a search job (search by email) synchronously, i.e. with exec(). Therefore the GUI blocks, we shouldn't use exec() in any place.

And of course Virtuoso should be faster in this case...
Comment 2 karl 2010-02-28 09:39:44 UTC
Problem confirmed. Kde 4.4.0 Gentoo AMD 64. Sending mail takes up to 30 seconds, high CPU use by virtuoso -t and nepomuk-services.
Comment 3 Thomas McGuire 2010-02-28 12:58:56 UTC
Should be fixed in KDE 4.4.1

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