10

I purchased a new acer i7-1165G7 @ 2.80GHz × 8 laptop installed ubuntu 20.04 along with dual boot Windows. Whenever I start the laptop either in windows or ubuntu both are making very loud noise. I suspected fan was faulty so I gave it to replace it. Now the laptop came with replaced fan still it is creating too loud unbeareable noise. When I see the processes via top more than 100% cpu consumption is going on for tracker-miner-f and tracker-extract for at least more than half an hour. Please let me know what should I do get rid of this noise? You can see the screenshots of top command here.

enter image description here

enter image description here

user3704712
  • 201
  • 2
  • 6
  • https://askubuntu.com/questions/1172237/why-is-tracker-miner-fs-consuming-100-of-my-cpu-what-is-usr-lib-tracker-track – Scott Stensland Jun 06 '21 at 12:07
  • also see https://askubuntu.com/questions/346211/tracker-store-and-tracker-miner-fs-eating-up-my-cpu-on-every-startup – Scott Stensland Jun 06 '21 at 12:08
  • 2
    Does this answer your question? [Tracker process taking lot of CPU](https://askubuntu.com/questions/1187191/tracker-process-taking-lot-of-cpu) – vanadium Jun 06 '21 at 12:55

3 Answers3

18

Even if you disable all the Search functions in settings, the tracker stuff still runs. I don't have any use for it so I have found the following two commands seem to disable everything for me. I have not noticed any issues by doing this:

tracker reset --hard

systemctl --user mask tracker-{miner-apps,miner-fs,store}

codlord
  • 2,141
  • 7
  • 19
  • 6
    UPDATE: For later Ubuntu versions (22.04 onwards I think) that use tracker 3 I am now doing this: `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` followed by `tracker3 reset -s -r` – codlord May 13 '22 at 06:46
  • 1
    For Ubuntu 22.04 masking the services my be not enough. You probably have files in `/etc/xdg/autostart/` like `/etc/xdg/autostart/tracker-miner-fs-3.desktop`, so you need to "override" this file and make sure it will not be started: Create `~/.config/autostart/tracker-miner-fs-3.desktop` content `[Desktop Entry]\nHidden=true` (`\n` being a new line, because I can not post that in this comment here ;) and after logout/login the process should not be started anymore (also `tracker3 daemon` will show it disabled) – mkurz May 30 '22 at 11:40
4

Make tracker-miner-fs, tracker-extract,tracker-store non executables. It's a workaround but it works.

sudo chmod -x /usr/libexec/tracker-miner-fs
sudo chmod -x /usr/libexec/tracker-extract
sudo chmod -x /usr/libexec/tracker-store
wasabi
  • 41
  • 2
1

Source: https://wiki.ubuntu.com/Tracker

Disabling tracker globally (for all users)

for Ubuntu 22 LTS

  • Edit /etc/xdg/autostart/tracker-miner-fs-3.desktop file with root priviledges
  • Add Hidden=true to the end of the file

for older Ubuntu versions

  • Edit /etc/xdg/autostart/trackerd.desktop file with root privileges
  • Add Hidden=true to the end of the file
  • Do the same for /etc/xdg/autostart/tracker-applet.desktop if you want

Disabling tracker for current user only

for Ubuntu 22 LTS

  • Not tested (instructions for older Ubuntu versions may work, please comment)

for older Ubuntu versions

  • Enter the directory ~/.config/autostart, create it if it does not exist
  • Create a file named trackerd.desktop
  • Paste the following into the file, save and exit
[Desktop Entry]
Encoding=UTF-8
Name=Tracker
Hidden=true
igor
  • 469
  • 4
  • 6
  • On Debian 11 (Bullseye) `/etc/xdg/autostart/tracker-miner-fs.desktop` and `/etc/xdg/autostart/tracker-extract.desktop` seem to be the relevant files. – scai Dec 30 '22 at 13:08
  • This did not work for me on 22.04 (Linux 5.19.0-41-generic x86_64), but making the 3 files non-executable as mentioned in another comment did work. – randyman99 May 08 '23 at 05:50