Fedora 43 KDE. Title says all. Just a week after solving the problem of Baloo burning my CPU and thrashing my drive, now I’ve got these localsearch-3 and localsearch-extractor-3 processes that randomly pop up, eat my CPU, and refuse to be killed.
I send the “kill” signal via System Monitor, and they pop right back up instantly, still burning away. Only a reboot gets them to go away, but they always come back in a day or two.
And it’s not like they’re building an index either. I’ve let them go for over 24 hours, hoping they’ll finish up, but they never do.
Given that these seem to be Gnome-related file search processes, how do I block them from running? I’ve disabled Baloo by turning off Indexing via System Settings, but I’m not finding any answers on how to keep these processes from eating my CPU alive.
$ sudo dnf search installed localsearch* keeps telling me no matches found. Doesn’t even return results when using the exact name of the process. Must be a part of a larger package.
Find the pid of the problematic processes, with something like top btop or ps and then find their parent processes ppid with ps -ef
If you eventually fimd that its a KDE function, then you will have trouble removing it. If you somehow got infected with Gnome, removal should be possible.
And have a look at system monitor tool, it should be able to show you a dependency tree
@theprogram mentioned somehow getting infected with Gnome, and I think that’s what happened. The Music app I was trying turns out to be Gnome’s music app, and that’s about when the localsearch issues started.
I still hesitate to sudo dnf remove localsearch* cuz there are a few things in there and I don’t want something else to break:
I systematically used to disable tracker, but nowadays, I have good experience disabling all file content searches. In Search (Settings), under “Search Locations”, disable everything. This should stop the “mining” of files (for metadata and contents), but still keep file name search in Files snappy.
Then it may be good to clean out the database: it may be corrupt in your case. I see no other way than
Log out of your account
Log in on a virtual console, and delete the cache files: rm -rf ~/.cache/tracker3 (the old name remained here).
When you log back in, a new database will be created, but as you are not mining files, it will remain small (9.3 M on my system).