Bug 92602 - Kmail scans all folders regularly making system slow
Summary: Kmail scans all folders regularly making system slow
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.7.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 20:50 UTC by Robin Rosenberg
Modified: 2008-03-12 09:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Rosenberg 2004-11-02 20:50:10 UTC
Version:           1.7.1 (using KDE 3.2.3, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
OS:                Linux (i686) release 2.6.8.1-12mdk

Every now and then (~5 minutes) kmail scans all my local folders. Since my local folders contain ~20000 messages in total this slows down the system directly through disk accesses and indirectly through flushing file system caches.

It seems all folders are read through (strace'd kontact), even very old archives that are not used by any filters.
Comment 1 Robin Rosenberg 2004-11-03 14:36:47 UTC
It also used huge amounts of CPU, not just disk.
Comment 2 Tom Albers 2004-11-03 17:43:44 UTC
Do you use the expire function?
Comment 3 Robin Rosenberg 2004-11-04 14:40:04 UTC
No, I don't use the expire function
Comment 4 David Faure 2004-11-04 15:00:53 UTC
Any search folders?

Comment 5 Robin Rosenberg 2004-11-04 15:48:03 UTC
Yes, one. (implicitly created). I'll remove it and see.
Comment 6 Robin Rosenberg 2004-11-10 12:33:16 UTC
It was the search folder.

Is it necessary to create the search folder? I'm not using it directly. I'm invoking the search funtion which gives me a dialog. I don't want a permanent search folder to be established for that.
Comment 7 Carsten Burghardt 2004-11-11 17:24:37 UTC
Yes we need to create a search folder. But you can delete it afterwards of course. And if you don't rename it it will be deleted when you close kmail.
Comment 8 Robin Rosenberg 2004-11-11 17:40:05 UTC
I never renamed it and it wasn't deleted.
Comment 9 Don Sanders 2004-12-22 06:40:47 UTC
This change probably hasn't made it downstream to you yet.

kmkernel.cpp revision 1.264
date: 2004/04/14 08:31:19;  author: sanders;  state: Exp;  lines: +5 -0
Be conservative and remove the 'Last Search' folder at start up.

Don.

Comment 10 Arkadiusz Miskiewicz 2008-03-12 09:16:28 UTC
Hm, I have kdepim 3.5.9 and "last search" folder isn't deleted at startup.