Results 1 to 4 of 4

Thread: Akonadi processes using 100% CPU

  1. #1
    Join Date
    May 2015
    Location
    Italy
    Posts
    375

    Default Akonadi processes using 100% CPU

    Hi,
    since a couple of weeks I am experiencing high cpu usage from a few akonadi processes.

    I have:

    • akonadi_archivemail_agent
    • akonadi_notes_agent
    • akonadi_maildispatcher_agent
    • akonadi_migration_agent

    using 100% cpu for a couple hours every time I boot my laptop.

    After about two hours CPU usage is back to normal, as if whatever that is that clogged up akonadi had been digested.
    But if I reboot, the load is back for another two hours.

    Fortunately the priority must be low because it isn't noticeable. I only noticed it because KMail was having difficulties retrieving mails from IMAP, and also telling me it couldn't send mail because the service was not active. As soon as CPU usage is back to normal, outgoing emails are correctly sent.

    By looking at past forum threads with similar problem I ran:
    • akonadiselftest
    • akonadictl fsck
    • akonadictl vacuum


    and they seemingly did not report anything wrong.

    So I went back to using Thunderbird for my email necessities and deleted my account from KMail. Then fired up akonadiconsole and deleted all of the remaining resources related to that mail account (calendaring and something else I don't remember now).

    But today I am still having my daily dose of high CPU usage due to akonadi .

    This is on my work laptop. At home on my PC with Tumbleweed I do not have this problem, but I did never use KMail there.

    Any hints?

    Thank you in advance.
    Cris
    Desktop: OpenSUSE Tumbleweed (x86_64) - AMD FX-8350 Eight-Core Processor, 16Gb RAM, 120GB Samsung Evo 840 SSD
    Laptop: OpenSUSE Tumbleweed (x86_64) - Thinkpad T440 - Intel i5-4210U, 12Gb RAM, 250GB Samsung EVO 750 SSD

  2. #2
    Join Date
    Jan 2016
    Location
    Manchester, UK
    Posts
    279

    Default Re: Akonadi processes using 100% CPU

    Quote Originally Posted by Cris70 View Post
    Hi,
    since a couple of weeks I am experiencing high cpu usage from a few akonadi processes.

    I have:

    • akonadi_archivemail_agent
    • akonadi_notes_agent
    • akonadi_maildispatcher_agent
    • akonadi_migration_agent

    using 100% cpu for a couple hours every time I boot my laptop.
    Hi,

    Your problem looks familiar to me. Could you please try the solution mentioned here: https://bugs.kde.org/show_bug.cgi?id=373443#c4

    A short note from the post:
    1. Stop Akonadi service,
    Code:
    akonadictl stop
    2. Change the names of following files to back up them in directory `$HOME/.config/akonadi`,
    Code:
    cd $HOME/.config/akonadi
    mv agent_config_akonadi_archivemail_agent_changes.dat agent_config_akonadi_archivemail_agent_changes.dat.bak
    mv agent_config_akonadi_migration_agent_changes.dat agent_config_akonadi_migration_agent_changes.dat.bak
    mv agent_config_akonadi_notes_agent_changes.dat agent_config_akonadi_notes_agent_changes.dat.bak
    mv agent_config_akonadi_maildispatcher_agent_changes.dat agent_config_akonadi_maildispatcher_agent_changes.dat.bak
    3. Start Akonadi service,
    Code:
    akonadictl start
    Regards,
    CnZhx
    openSUSE Tumbleweed (usually the latest snapshot) w/ KDE Plasma 5

  3. #3
    Join Date
    May 2015
    Location
    Italy
    Posts
    375

    Default Re: Akonadi processes using 100% CPU

    Hi CnZhx,
    the reported workaround fixed my problem completely!!!

    Thank you!!!
    Cris

    Desktop: OpenSUSE Tumbleweed (x86_64) - AMD FX-8350 Eight-Core Processor, 16Gb RAM, 120GB Samsung Evo 840 SSD
    Laptop: OpenSUSE Tumbleweed (x86_64) - Thinkpad T440 - Intel i5-4210U, 12Gb RAM, 250GB Samsung EVO 750 SSD

  4. #4
    Join Date
    Jan 2016
    Location
    Manchester, UK
    Posts
    279

    Default Re: Akonadi processes using 100% CPU

    Hi Cris,

    Glad it helps. I was troubled by this issue several days ago. :-)

    Cheers,
    CnZhx
    openSUSE Tumbleweed (usually the latest snapshot) w/ KDE Plasma 5

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •