[Bug 243569] Kmail is extremely slow and uses CPU

Peer Heinlein p.heinlein at heinlein-support.de
Mon Jun 6 21:10:12 BST 2011


https://bugs.kde.org/show_bug.cgi?id=243569





--- Comment #19 from Peer Heinlein <p heinlein heinlein-support de>  2011-06-06 22:10:11 ---
I met Till Adam from KDAB several weeks ago and we debuged this problem on my
system. The (on of the?) reason is, that KMail writes his config-file kmailrc
*very* often after every change on its database, folders or imap-storage,
because kmailrc is including details about every IMAP-folder. 

This kmailrc is very large => that leads to very much I/O, very much wait-I/O
for the CPU and very much CPU-time for calculating this config-file. You can
trace this problem with gdb, seeing KMail writing his config-file in 9 out of
10 cases.

KDAB prepared a patch for me, making KMail writing his kmailrc not after each
change, but after several seconds/minutes.

I'm running Kmail with this patch for two weeks now without any problems. It's
much better know. Maybe there are still other performance problems in KMail,
but THIS problem on my system has been solved by this. We're tracing this at
the moment, but looks like my patch will go upstream.

You can find my patched version in my OpenSUSE-Repo at
http://download.opensuse.org/repositories/home:/pheinlein/openSUSE_11.4. Or try
this patch.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list