Ubuntu: Akonadi and Kmail using 100% CPU



Question:

I've been using KMail for a month or two now and have so far had no problems with it. However, today my laptop died after the battery ran out of power, and since then whenever I log in I see a steady 100% CPU use from the following processes:

  • akonadi_mailfilter_agent
  • akonadi_imap_resource
  • akonadi_nepomuk_feeder

Running akonadictl stop kills the processes and returns CPU usage to reasonable levels, but then KMail complains that it cannot run without akonadi. Can I clear some type of cache or other settings to get KMail back on its feet?


Solution:1

The solution is a bit painful, but I at least got everything back up and running again. Here's what I had to do:

  1. Run akonadictl stop to stop akonadi
  2. Remove everything under ~/.local/share/akonadi
  3. Remove everything under ~/.config/akonadi
  4. Restart akonadi

After restarting akonadi, it took a good 15 minutes to resync everything. However, the CPU usage during the sync was about 40% per daemon, much better than 100%.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »