Baloo is a daemon that forced me to remove konqueror after upgrading to Linux Mint 20
When I discovered baloo I was trying to find what was trying to kill my system. I had upgraded from Linux Mint 19.3 yesterday and had a number of small issues and an unidentified issue causing my web server to have issues. This was the fourth computer I had upgraded to Linux Mint 20 and had been able to resolve all the previous issues. I went to bed not knowing what the issue was but sure I would be able to solve it.
This morning I was surprised to find that the root partition was filling up and the lack of space was the problem. My initial investigation showed that my home folder was using a huge amount of space and causing the system to have issues. I initially missed that it was a pair hidden log files using up space but did see I had a copy of the 26G Music folder there and deleted it since I know I have other copies.
After I provided over 25G of space I was surprised to find it quickly being used up by something I wasn't seeing. I finally found the hidden .xsession-errors and .xsession-errors.old files using over 40G of space and growing at almost 1G / minute. I then saw a huge number of the same messages over and over in the file. I first noticed:
org.kde.baloo.engine: PositionDB::put MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
When I searched the web I saw "HELP! My /home partition keeps filling up" which mentioned the message I had searched for along with:
org.kde.baloo.engine: PostingDB::put MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
There was a bunch of discussion and "pkill baloo put an end to that nonsense" made sense to me. I continued reading and saw people complaining about the difficulty in telling the daemon not to run. I knew one way would be to remove the package with the daemon in it. I saw I had a libkf5balooengine5 and decided to remove it.
I removed konqueror because it was dependent upon baloo and I wanted baloo off my system so bad I was willing to give up konqueror. I saw dolphin was also dependent on baloo but I use that even less than konqueror and could not actually remember the last time I had used either.
I don't think I ever had KDE installed on ak17. The ak17 machine was bought after the Burglary when many of my machines were stolen. I did not get around to making it my main server until the beginning of 2018 partly becasue I still had ak7 which was working. I know I have done a major upgrade on ak17 before including from 18 to 19 as well as the smaller point releases.
I think I installed konqueror on ak19 just to have another browser.
It looks like the bug has been seen by people for at least 5 years and is still there. I did some research and question the whole philosophy intentionally limiting settings for the daemon and especially not fixing the bugs.
After correcting the problem by removing the horrible daemon and deleting the files I did not have room for I decided to do a little more investigating. I looked at the backup from this morning and saw over 15G in the two files of the backup. Those two files had over 164 million records in them and only 321 were not related to baloo. The bulk were the following 4 messages repeated over and over.
org.kde.baloo.engine: PostingDB::put MDB_BAD_TXN: Transaction must abort, has a child, or is invalid org.kde.baloo.engine: PositionDB::put MDB_BAD_TXN: Transaction must abort, has a child, or is invalid org.kde.baloo.engine: Transaction::commit MDB_BAD_TXN: Transaction must abort, has a child, or is invalid /home/lam/VirtualBox VMs/WXP-VM1/Logs/VBox.log.3" id seems to have changed. Perhaps baloo was not running, and this file was deleted + re-created
These messages might have some value but repeating the same messages over a million times an hour without any additional information such as a date or time stamp while using as much system resources as are available is not acceptable on my system.
I was a fan of KDE for while but from my notes it looks like it has been over 5 years since I ran the KDE desktop. I remember specifically installing some KDE over GNOME and I guess I did it over Cinnamon as well. Other than konqueror I remember some KDE games that I installed but apparently not on ak17.
I have more detail currently that I could provide to someone if it might help get the error fixed but I don't know that more info is necessary and it looks like the developers don't think it needs to be fixed.
My only previous comments on Baloo are related to the Mowgli and Baloo characters of Jungle Book 2.