This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Akonadi overheats my laptop, how to turn off, adjust...?

Tags: None
(comma "," separated)
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
About once a day my laptop will start to run hot, it's fans will kick in and it gets loud. If I go to top, it's Akanodi_imap_re first on the list with over 60% CPU usage. It does this for over 45min.

When this happens, how can I tell it to stop? Is there an adjustment I can make? It started since I switched from pop to imap.

What are all the apps and plasmoids I need Akonadi for? What would it involve to disable Akonadi?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The command "akonadictl stop" should cause Akonadi to shutdown. This sort of behaviour should not occur however.
Akonadi is the service which supports KMail and Kontact in the background, and is responsible for retrieving your mail, etc.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
Thanks, "akonadictl stop" is what I want.

After I made the original post I let it run, thinking that I had recently added an imap server with thousands of messages and maybe it needed to get all those indexed and then it will be happy after that. I let it run for 4+ hours pegging my laptop at 80C with fans loud the whole time. I finally gave up and shut it down. It's been two days since then and I haven't noticed any more than short little bursts. Maybe it just wanted to index all the new messages? I appreciate the ability to turn it off now if I have to.

Is it possible to have KMail and Kontact use the MySQL server my system is always running?
wolfi323
Registered Member
Posts
1129
Karma
11
OS
vayu wrote:Is it possible to have KMail and Kontact use the MySQL server my system is always running?

Yes.
Type "akonadi" in the kickoff menu's search field and select "Akonadi Server Configuration".
Disable the option "Use internal MySQL server".

Then the settings for "External MySQL server" should get enabled.
Enter "localhost" for the Host, you can leave "Options" blank, the rest should be self-explanatory.
You could set "Options" to "MYSQL_OPT_RECONNECT=1" if you want, there is a default timeout of 8 hours IIRC.
With that option akanadi would automatically reconnect if the connection is terminated due to that timeout, you would have to restart akonadi otherwise.

You could also disable EMail indexing in systemsettings->Desktop Search globally.
Or just for certain mail folders by right-clicking on them and choosing "Properties". On the "Maintenance" tab there is a setting if that folder should be indexed or not.
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
wolfi323 wrote:Type "akonadi" in the kickoff menu's search field and select "Akonadi Server Configuration".
Disable the option "Use internal MySQL server".

Then the settings for "External MySQL server" should get enabled.
Enter "localhost" for the Host, you can leave "Options" blank, the rest should be self-explanatory.
You could set "Options" to "MYSQL_OPT_RECONNECT=1" if you want, there is a default timeout of 8 hours IIRC.
With that option akanadi would automatically reconnect if the connection is terminated due to that timeout, you would have to restart akonadi otherwise.

You could also disable EMail indexing in systemsettings->Desktop Search globally.
Or just for certain mail folders by right-clicking on them and choosing "Properties". On the "Maintenance" tab there is a setting if that folder should be indexed or not.


Thank you. Very handy. I love how KDE has so many areas where you get to do what you want.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]