[kmail2] [Bug 323929] New: kmail high cpu load, seems stuck looping on fetching mails from akonadi

Marc Cousin cousinmarc at gmail.com
Fri Aug 23 17:03:10 BST 2013


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

            Bug ID: 323929
           Summary: kmail high cpu load, seems stuck looping on fetching
                    mails from akonadi
    Classification: Unclassified
           Product: kmail2
           Version: 4.11
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: cousinmarc at gmail.com

Hi,

I have been having this problem for quite a while, in fact, but I just have
taken the time to diagnose it.

Kmail eats a lot of CPU on my machine, specifically when one account is
activated.

If I use the akonadi console, I see it doing 

KMail Kernel ETM (0x104c840) * 9518 FETCH (UID 9518 REV 0 REMOTEID "3" MIMETYPE
"message/rfc822" COLLECTIONID 23 SIZE 5571 FLAGS (\ANSWERED \SEEN) ANCESTORS
((23 ".dlb-admin") (14 "imap://marc.cousin@dalibo.com@mail.dalibo.com/") (0
"")) PLD:ENVELOPE[1] {299} ("Thu, 04 Oct 2012 00:34:18 +0200" "Reboot
telemaque" (("damien clochard" NIL "damien.clochard" "dalibo.com")) ((NIL NIL
"dlb-admin-bounces" "listes.dalibo.com")) ((NIL NIL "dlb-admin"
"listes.dalibo.com")) ((NIL NIL "dlb-admin" "listes.dalibo.com")) NIL NIL NIL
"<506CBD6A.9010108 at dalibo.com>" NIL)) 
KMail Kernel ETM (0x104c840) * 9517 FETCH (UID 9517 REV 0 REMOTEID "2" MIMETYPE
"message/rfc822" COLLECTIONID 23 SIZE 7224 FLAGS (\SEEN) ANCESTORS ((23
".dlb-admin") (14 "imap://marc.cousin@dalibo.com@mail.dalibo.com/") (0 ""))
PLD:ENVELOPE[1] {382} ("Wed, 03 Oct 2012 18:17:10 +0200" "DONE : Monitorer le
yang collector" (("Nicolas Thauvin" NIL "nicolas.thauvin" "dalibo.com")) ((NIL
NIL "dlb-admin-bounces" "listes.dalibo.com")) ((NIL NIL "dlb-admin"
"listes.dalibo.com")) ((NIL NIL "dlb-admin" "listes.dalibo.com")) NIL NIL
"<506BFB16.9060107 at dalibo.info>" "<20121003181710.712f77f8 at dalibo.com>"
"<506BFB16.9060107 at dalibo.info>")) 
KMail Kernel ETM (0x104c840) * 9516 FETCH (UID 9516 REV 0 REMOTEID "1" MIMETYPE
"message/rfc822" COLLECTIONID 23 SIZE 5486 FLAGS (\SEEN) ANCESTORS ((23
".dlb-admin") (14 "imap://marc.cousin@dalibo.com@mail.dalibo.com/") (0 ""))
PLD:ENVELOPE[1] {310} ("Wed, 03 Oct 2012 10:45:10 +0200" "TODO : Monitorer le
yang collector" (("damien clochard" NIL "damien" "dalibo.info")) ((NIL NIL
"dlb-admin-bounces" "listes.dalibo.com")) ((NIL NIL "dlb-admin"
"listes.dalibo.com")) ((NIL NIL "dlb-admin" "listes.dalibo.com")) NIL NIL NIL
"<506BFB16.9060107 at dalibo.info>" NIL)) 
KMail Kernel ETM (0x104c840) 1986 OK FETCH completed 

all the time, with tens of thousands of messages. The akonadi console cannot
keep up… I have to activate debug only for one second, then it scrolls for at
least 10 seconds. These messages never stop. And if I try to capture for a
minute or so, akonadiconsole gets out of RAM.

I guess there is something it doesn't like in an imap folder... It's been doing
this on this account for at least 2 years. I have tried Kmail2 again at each
KDE release, and switched back because of that. I know I should have given it a
look before... 

I tried to let it run for 24 hours, hoping it would settle. But it doesn't and
always comes back to fetching all emails in these few folders (always the same
3 or 4 collectionids).

I have 3 other accounts with no problem. Can I provide some more information ?
A log , a debug trace, whatever may help you solve this problem ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list