Tracker-extract and Tracker-store processes consuming huge Amount of RAM [closed]
Asked Answered
D

6

27

I am using Arch Linux, kernel 3.16.

From last one week my two processes tracker-extract and tracker-store are taking too much RAM. It results in hangup of system once in every 2 hours.

tracker-extract taking 300 MB and tracker -store taking 2 GB RAM.(total RAM is 3.8 GB)

I want to know what are these tracker processes and what are their work. If i kill them does this effect in system performance ?

What are the ways to kill them permanently so that I can get rid of these two processes?

Please help me.

Degradable answered 4/11, 2014 at 14:40 Comment(2)
Why the ubuntu tag if this is Arch Linux?Sayre
also CPU usage make fun turn onDeferent
S
26

Tracker is used (by gnome) to index files to make them searchable and appear automatically in some programs (like Rhythmbox for music files, etc). More info from the Ubuntu wiki on it here https://wiki.ubuntu.com/Tracker.

You can do a hard reset of the tags database and restart all the tracker processes with this command:

tracker reset -r
Searle answered 2/8, 2018 at 3:59 Comment(1)
This helped me when I had to restore some backups that probably had an old tracker db image.Gamba
C
11

Use pkgfile to work out what package these files belong to:

pkgfile tracker-extract

Results:

extra/tracker

A quick package search using pacman (pacman -Ss tracker), reveals:

extra/tracker 1.2.3-1 (gnome)
    All-in-one indexer, search tool and metadata database

Since I am not a user of gnome, I cannot comment on the specific functionality that this package provides. But you could always try removing the package and see what happens:

pacman -Rs tracker
Checkpoint answered 5/11, 2014 at 5:3 Comment(2)
gnome-music and gnome-documents both depend on tracker, if you don't use those then I suppose you don't really need itSteric
Nice answer. I found this tracker-extract holding files open on nfs disk causing un-removable .nfs000000... files (until that process was killed off). unix.stackexchange.com/questions/231074/…Threnode
A
8

tracker is used to index your documents.

Here is a procedure to disable the indexing on Fedora

Assr answered 17/7, 2015 at 5:41 Comment(4)
Note that link-only answers are discouraged, SO answers should be the end-point of a search for a solution (vs. yet another stopover of references, which tend to get stale over time). Please consider adding a stand-alone synopsis here, keeping the link as a referenceUnwary
This exact procedure (follow the link above) worked on my CentOS 7.6.Haggerty
@Unwary I agree. The answers could be here and author can comment the link as source. The above link is invalid and the answer is useful for nothing.Etan
I was interested in how to disable the tracker processes but the link no longer works. I flagged this for deletion since it offers no useful information and wasted my time on a link that no longer exists.Extravaganza
T
8

Use tracker daemon -t to terminate and tracker daemon -s to start the processes.

Tripedal answered 18/9, 2018 at 15:14 Comment(0)
G
2

AskUbuntu has a bunch of conversation about issues with Tracker. Apparently some people see it eating up CPU or disk space instead, but I had the same problem as you with unreasonable RAM consumption—after leaving it overnight I came back to find it using 5.9GB!

This answer offers commands for Ubuntu that look like they should also work on Arch Linux:

echo -e "\nHidden=true\n" | sudo tee --append /etc/xdg/autostart/tracker-extract.desktop /etc/xdg/autostart/tracker-miner-apps.desktop /etc/xdg/autostart/tracker-miner-fs.desktop /etc/xdg/autostart/tracker-miner-user-guides.desktop /etc/xdg/autostart/tracker-store.desktop > /dev/null
gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2  
gsettings set org.freedesktop.Tracker.Miner.Files enable-monitors false  
tracker reset --hard

I took the simpler route of trying to uninstall tracker-store and tracker-miners. It had been installed as the dependency of a couple programs that weren't important to me, so I uninstalled them as well. Problem solved!

Gaza answered 10/4, 2019 at 16:8 Comment(0)
C
2

It is used for indexing purposes in ubuntu I disabled it in Ubuntu 20.04.2 LTS, much faster now

tracker daemon -t
cd ~/.config/autostart
cp -v /etc/xdg/autostart/tracker-*.desktop ./
for FILE in tracker-*.desktop; do echo Hidden=true >> $FILE; done
rm -rf ~/.cache/tracker ~/.local/share/tracker

check the status,

tracker status
Creosol answered 15/8, 2021 at 11:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.