Bug 258003 - KMail2 does paralleled execution of filters with no limit (DoS due to CPU load)
Summary: KMail2 does paralleled execution of filters with no limit (DoS due to CPU load)
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 18:40 UTC by Alex Richardson
Modified: 2011-09-17 18:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Richardson 2010-11-26 18:40:05 UTC
Version:           unspecified (using KDE 4.5.80) 
OS:                Linux

It seems KMail spawns hundreds of spamassassin processes which eat up the CPU and also for some reason the Kontact GUI is frozen.
I have 4 POP mail accounts which I migrated today. These processes are spawned every time I start KMail, possibly could be related to fetching mail. I have set one of my POP accounts to leave the mail on the server for seven days, maybe this it filters all these messages for spam. I do not know if it happens after every automatic Mail check since I have not managed to run KMail for longer than a few minutes.

I also got a crash when I switched to the Kontact tab KMail (I always start with akregator) while the GUI was slow and unresponsive and the spamassassin processes were running, but I haven't tried to reproduce this and unfortunately I closed the backtrace.

Reproducible: Always
Comment 1 Alex Richardson 2010-11-26 19:33:20 UTC
It seems the crash I wrote about is not reproducible, however the UI is frozen for minutes after startup
Comment 2 Tobias Koenig 2011-09-17 18:13:49 UTC
Hej Alex,

current master (and future KDE 4.8) will use a separated agent for filtering, so the UI of KMail2 won't block anymore by a slow spamassasin process.

Ciao,
Tobias