Summary: | kmail or kontact using a lot of CPU and disk when starting reading mail folders | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Roman Fietze <kde> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | alpha_one_x86, bjoernv, f.leerink, mbuerger, p.heinlein |
Priority: | NOR | ||
Version: | 4.9.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Roman Fietze
2010-04-28 10:46:16 UTC
Same here. I just upgraded from 4.2 to 4.4.4 (Gentoo x86) and every time I pull emails from my POP3 accounts kmail starts accessing/reading old emails. I used iotop and it showed a constant reading performance of around 1MB/sec and lsof showed me that kmail runs through my local mail folders. Well, not _everytime_ but each time I start KDE and after that the first time I use kmail to fetch my emails it shows the behaviour as described above. Subsequent attempts work without showing this strange disk-load. In my case this was related to a previously executed search, hence, if the search returned a lot of emails then the next time the same search is being executed. In order to avoid this behaviour - at least for vast search results - I made another search in a small mail folder with no hits. After another restart of KDE kmail worked without showing any of the above mentioned signs. *** Bug 251240 has been marked as a duplicate of this bug. *** *** Bug 232047 has been marked as a duplicate of this bug. *** Today I met Till Adam from KDAB and we debugged my slow kmail. Looks like the major problem is, that kmail writes his kmailrc *** very *** often. On the one hand this needs a lot of CPU (1,7 Mbyte file, generating 70.000 lines config), on the other hand this is done using fsync(), so there's very much I/O. I'll receive a patch for this during the next days, maybe all the problems are gone then... I found, that especially Xorg uses a lot of CPU time, if kmail starts reading mail folders. May be, that there are too much screen updates during reading mail folders. Test: openSUSE 12.1, KDE 4.9, I had same problem with ultracopier, I have solved it with using MVC of Qt. Moving to kmail2 This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |