Bug 195146 - Kmail freezes with high CPU and suspiciously high memory usage while fetching some messages/listing folder on connected IMAP
Summary: Kmail freezes with high CPU and suspiciously high memory usage while fetching...
Status: CLOSED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 22:06 UTC by Maciej Mrozowski
Modified: 2018-03-25 18:15 UTC (History)
2 users (show)

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 Maciej Mrozowski 2009-06-03 22:06:59 UTC
Version:           Version 1.11.4
Using KDE 4.2.4 (KDE 4.2.4) (using KDE 4.2.3)
Compiler:          gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2 
OS:                Linux
Installed from:    Gentoo Packages

In various occasions, kmail freezes while fetching folders/messages from IMAP mailbox.
This is kmail released with 4.2.4 (using kdelibs/kdepim from 4.2.4)

top:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
13442 maciek    20   0 2666m 1.2g  26m R  100 59.6   0:31.14 kmail

Normal resource usage for kmail is at least 6 times lower.

Application doesn't seem to crash however.
Compiled with -O0 -ggdb (I may try with typical -O2 later)
Comment 1 Maciej Mrozowski 2009-08-27 20:31:46 UTC
I cannot experience it anymore (as of KDE 4.3.0 and above), so assuming it's fixed, I'm closing as resolved and will reopen if needed.
Comment 2 Rigo Wenning 2009-11-25 11:39:56 UTC
I didn't do any update or anything. This bug hit me out of the blue after restarting the machine (like I do every day (green IT :)). IMHO it has to do with kmail's notorious weaknesses in the I/O area. If I start off with the splash (local folder) kmail has normal behavior. As soon as I want to open inbox or sent-mail or some other mailbox, kmail starts using 95-100% cpu and becomes extremely slow without crashing. Even erasing the index-files did not have any effect. It has already destroyed my flags anyway (for the n-th time) While the rest of kontact is really great, kmail still lacks hugely lacks stability and reliability.