Tracker is an indexing system. It searches all files for words, which are included in a database so you can quickly find files containing specific words.
The first time, tracker needs to index all files. On subsequent times, only changed and new files are also included in the index. It is typical for Tracker to require some minutes of high processor activity to check the file system for changed files and update the index.
‣ If, despite your patience, tracker keeps using high cpu, then there may be an issue with the database. In that case, clearing the database and having tracker reconstruct it may help:
tracker reset --hard ; tracker daemon --start
Beware, all files need reindexing, so there will be some processor useage for a while.
‣ It may be that you have a folder with frequently changing content, e.g. a Downloads folder. You can selectively disabling tracking a folder by placing a hidden file .trackerignore in the folder, or disable searching the folder in the Settings - Search dialog (button "Search locations:" in Ubuntu 20.04, gear wheel in older versions).
‣ If Tracker overall annoys you, you can disable it completely. File name based search in nautilus will still work (and be quite a bit faster).
Tracker (and miner) has plenty of configuration options accessible via dconf-editor under /org/freedesktop/tracker/
Specifically to make miner less CPU aggressive org.freedesktop.Tracker.Miner.Files throttle value can be set to anything between 0 and 20, the higher the slower.
Also, setting org.freedesktop.Tracker.Extract wait-for-miner-fs to true should prevent running tracker-miner-fs and tracker-extract in parallel.
Have some patience. It eventually will go over.
Tracker is an indexing system. It searches all files for words, which are included in a database so you can quickly find files containing specific words.
The first time, tracker needs to index all files. On subsequent times, only changed and new files are also included in the index. It is typical for Tracker to require some minutes of high processor activity to check the file system for changed files and update the index.
‣ If, despite your patience, tracker keeps using high cpu, then there may be an issue with the database. In that case, clearing the database and having tracker reconstruct it may help:
Beware, all files need reindexing, so there will be some processor useage for a while.
‣ It may be that you have a folder with frequently changing content, e.g. a Downloads folder. You can selectively disabling tracking a folder by placing a hidden file
.trackerignore
in the folder, or disable searching the folder in the Settings - Search dialog (button "Search locations:" in Ubuntu 20.04, gear wheel in older versions).‣ If Tracker overall annoys you, you can disable it completely. File name based search in nautilus will still work (and be quite a bit faster).
Tracker (and miner) has plenty of configuration options accessible via
dconf-editor
under/org/freedesktop/tracker/
Specifically to make miner less CPU aggressive
org.freedesktop.Tracker.Miner.Files throttle
value can be set to anything between 0 and 20, the higher the slower.Also, setting
org.freedesktop.Tracker.Extract wait-for-miner-fs
totrue
should prevent running tracker-miner-fs and tracker-extract in parallel.run the following commands in a shell