this post was submitted on 29 Jul 2023
9 points (100.0% liked)

Linux

69 readers
1 users here now

founded 2 years ago
 

Disable Search Indexing in options. It uses a buggy piece of garbage called Akonadi in the background and was causing one core of my CPU to stay at 100% for no reason.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 1 year ago (1 children)

Baloo is the file indexer for KDE. It has little or nothing to do with Akonadi.

[–] [email protected] 1 points 1 year ago

Hmm. Maybe it's all a coincidence. When one of my CPU cores was stuck at 100%, I opened htop and configured it to show kernel threads too. I spotted MariaDB running in the background. I thought "I don't remember installing MariaDB". Went to uninstall it with pacman, which said it's a dependency of Akonadi. After googling, I turned off Search Indexing and CPU usage dropped to zero. I'll keep an eye on it to see if the problem comes back.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Akonadi also hogs a lot of memory for services i never use (calendar and centralised mail service, not sure if thunderbirs uses them). It's not a problem for my desktop pc so i don't tinker with it, on my 8 year old laptop on the other hand I'm going to have to switch to something lighter in the future (lxqt or xfce).

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Akonadi is a pig. Nearly 20 processes, each one using 20-150MB resident set (20-40MB unique set), multiplied by the number of users logged in. And then there's the other stuff it keeps resident, like mysqld.

That might be okay if I was getting something important from it, but I'm not. It provides zero value to me. It's just wasting RAM that I would rather use for other things.

Unfortunately, it's part of the Plasma dependency chain on my distro, so removing it would be problematic. When I find the time, I may build a custom metapackage to allow me to get rid of it without taking most of KDE with it.

[–] aport 2 points 1 year ago

Lol last time I tried KDE a few years ago, Akonadi kept crashing. It made the DE feel like a buggy mess (it is) so I uninstalled it.

Sad not much has changed since then

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I'd love it if the KDE devs made Baloo and Akonadi optional. Their insistence on including them reminds me of Micro$oft's insistence on bundling Internet Explorer and integrating it into the OS shell in Windows 98.

[–] [email protected] 1 points 1 year ago (1 children)

Yeah, first thing I do on a new install is "balooctl disable".

[–] [email protected] 1 points 1 year ago

https://wiki.archlinux.org/title/Baloo Section 5 shows how to disable it without installing anything.