I’m using Gnome and until recently I used to have issues with tracker-miner-fs-3 causing high CPU usage out of nowhere all the time. I was never able to fix that problem, but according to some reports on the Internet, NodeJS applications with huge node_modules
directories containing tens if not hundreds of thousands of small files can cause this. Unfortunately as a developer I have about a hundred of those on my system (constantly adding more) and could not find a way to exclude node_modules
all directories in tracker-miner. So I ended up permanently disabling the service by running:
systemctl --user mask tracker-miner-fs-3.service
systemctl --user stop tracker-miner-fs-3.service
Now, after a recent update my understanding is that tracker-miner
was replaced by localsearch
and now I’m having CPU usage issues again, only this time with process localsearch-3
and in more regular but shorter bursts.
Do you have any suggestions on how to configure localsearch properly so that I don’t have this issue anymore?
This is my log btw:
$ journalctl --user -u localsearch-3.service
...
Dez 09 11:46:50 tvk-xps159575 systemd[1715]: localsearch-3.service: Main process exited, code=exited, status=1/FAILURE
Dez 09 11:46:50 tvk-xps159575 systemd[1715]: localsearch-3.service: Failed with result 'exit-code'.
Dez 09 11:46:50 tvk-xps159575 systemd[1715]: Failed to start Tracker file system data miner.
Dez 09 11:46:50 tvk-xps159575 systemd[1715]: localsearch-3.service: Consumed 4.632s CPU time, 1G memory peak.
Dez 09 11:46:51 tvk-xps159575 systemd[1715]: localsearch-3.service: Scheduled restart job, restart counter is at 1359.
Dez 09 11:46:51 tvk-xps159575 systemd[1715]: Starting Tracker file system data miner...
Dez 09 11:46:56 tvk-xps159575 localsearch-3[77634]: Could not create store: ambiguous column name: ROWID
Dez 09 11:46:56 tvk-xps159575 systemd[1715]: localsearch-3.service: Main process exited, code=exited, status=1/FAILURE
Dez 09 11:46:56 tvk-xps159575 systemd[1715]: localsearch-3.service: Failed with result 'exit-code'.
Dez 09 11:46:56 tvk-xps159575 systemd[1715]: Failed to start Tracker file system data miner.
Dez 09 11:46:56 tvk-xps159575 systemd[1715]: localsearch-3.service: Consumed 4.499s CPU time, 1G memory peak.
Dez 09 11:46:56 tvk-xps159575 systemd[1715]: localsearch-3.service: Scheduled restart job, restart counter is at 1360.
Dez 09 11:46:56 tvk-xps159575 systemd[1715]: Starting Tracker file system data miner...
Dez 09 11:47:02 tvk-xps159575 localsearch-3[77690]: Could not create store: ambiguous column name: ROWID
Dez 09 11:47:02 tvk-xps159575 systemd[1715]: localsearch-3.service: Main process exited, code=exited, status=1/FAILURE
Dez 09 11:47:02 tvk-xps159575 systemd[1715]: localsearch-3.service: Failed with result 'exit-code'.
Dez 09 11:47:02 tvk-xps159575 systemd[1715]: Failed to start Tracker file system data miner.
Dez 09 11:47:02 tvk-xps159575 systemd[1715]: localsearch-3.service: Consumed 4.526s CPU time, 1.1G memory peak.
Dez 09 11:47:02 tvk-xps159575 systemd[1715]: localsearch-3.service: Scheduled restart job, restart counter is at 1361.
Dez 09 11:47:02 tvk-xps159575 systemd[1715]: Starting Tracker file system data miner...
Dez 09 11:47:08 tvk-xps159575 localsearch-3[77749]: Could not create store: ambiguous column name: ROWID
Dez 09 11:47:08 tvk-xps159575 systemd[1715]: localsearch-3.service: Main process exited, code=exited, status=1/FAILURE
Dez 09 11:47:08 tvk-xps159575 systemd[1715]: localsearch-3.service: Failed with result 'exit-code'.
Dez 09 11:47:08 tvk-xps159575 systemd[1715]: Failed to start Tracker file system data miner.
Dez 09 11:47:08 tvk-xps159575 systemd[1715]: localsearch-3.service: Consumed 4.581s CPU time, 1.1G memory peak.
Dez 09 11:47:08 tvk-xps159575 systemd[1715]: localsearch-3.service: Scheduled restart job, restart counter is at 1362.
Dez 09 11:47:08 tvk-xps159575 systemd[1715]: Starting Tracker file system data miner...
Dez 09 11:47:14 tvk-xps159575 localsearch-3[77807]: Could not create store: ambiguous column name: ROWID
Dez 09 11:47:14 tvk-xps159575 systemd[1715]: localsearch-3.service: Main process exited, code=exited, status=1/FAILURE
Dez 09 11:47:14 tvk-xps159575 systemd[1715]: localsearch-3.service: Failed with result 'exit-code'.
Dez 09 11:47:14 tvk-xps159575 systemd[1715]: Failed to start Tracker file system data miner.
Dez 09 11:47:14 tvk-xps159575 systemd[1715]: localsearch-3.service: Consumed 4.839s CPU time, 1G memory peak.
Dez 09 11:47:14 tvk-xps159575 systemd[1715]: localsearch-3.service: Scheduled restart job, restart counter is at 1363.
Dez 09 11:47:14 tvk-xps159575 systemd[1715]: Starting Tracker file system data miner...
I could of course do systemctl --user mask localsearch-3.service
, hoping that this doesn’t cause new issues, but I’d really like to just actually fix the underlying problem.