Tracker-miner-fs Indexing and High CPU Usage

Can Tracker-miner-fs indexing be stopped before it starts during startup via changing:

/etc/xdg/autostart/tracker-miner-fs.desktop
to:
/etc/xdg/autostart/tracker-miner-fs.desktop.HOLD

or does it also start at some other time in addition to startup ??

Thanks!

https://stls.eu/blog/2014/02/27/disable-tracker-miner-fs/

1 Like

Thanks, I'm familiar with removing it, but may want to run it manually later. So, my initial questions remain:

  1. stopping it from starting during startup
  2. does it run at any other time automatically.

Thanks!

This is a Gnome-Dependent service. As such, toggling it does not work so easily.
You can mask the service to stop it from indexing:

systemctl --user mask tracker-extract-3.service tracker-miner-fs-3.service tracker-miner-rss-3.service tracker-writeback-3.service tracker-xdg-portal-3.service tracker-miner-fs-control-3.service

Then run:

tracker3 reset -s -r

A reboot is required to see the change.

You can start the service running again by unmasking it:

systemctl --user unmask tracker-extract-3.service tracker-miner-fs-3.service tracker-miner-rss-3.service tracker-writeback-3.service tracker-xdg-portal-3.service tracker-miner-fs-control-3.service
tracker3 reset -s -r

As above;
A reboot is required to see the change.