码迷,mamicode.com
首页 > 其他好文 > 详细

tracker-store and tracker-miner-fs eating up my CPU on every startup

时间:2016-05-22 06:12:31      阅读:389      评论:0      收藏:0      [点我收藏+]

标签:

 

 

Tracker is a synergy of technologies that are designed to provide a highly sophisticated, innovative and integrated desktop.

Tracker provides the following:

Indexer for desktop search (for more details see this spec : https://wiki.ubuntu.com/IntegratedDesktopSearch)
Tag database for doing keyword tagging of any object
Extensible metadata database for apps like gedit and rhythmbox which need to add custom metadata to files
Database for first class objects allows using trackers database for storage and implementation of First Class Objects and the Gnome 3.0 Model.
How to get rid of processes?

Disabling tracker for globally (for all users)
Edit /etc/xdg/autostart/trackerd.desktop file with root privileges (sudo -i gedit /etc/xdg/autostart/trackerd.desktop)
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 your user only
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

 

Simply change this values using the gsettings witch will disable the constant indexing of Tracker:

gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2
gsettings set org.freedesktop.Tracker.Miner.Files enable-monitors false

The values could be changed using dconf-editor by navigating through org > freedesktop > Tracker > Miner > Files:

技术分享

After this changes, it is highly recommended to cleanup the database to reclaim some lost space on the disk:

tracker-control -r

 

 

http://askubuntu.com/questions/346211/tracker-store-and-tracker-miner-fs-eating-up-my-cpu-on-every-startup

 

 

Tracker sucks. Thanks, Tracker.

After using Gnome 3.6.2 for a few days I have noticed a significant slow down at startup. I love where the UI is going (especially if you actually select bluebird as a theme instead of adwaita), but at every startup or in the middle of the day (including when on batteries) my hard drive was grinding away and the CPU was used up by tracker-storeiotop informed that tracker-store was using up 99% of I/O for several minutes and top reported 99% of CPU usage at the same time. Not too big a deal if this is only happening once, but it has been happening every day on my Asus laptop on GNU/Linux. This makes me feel like I‘m losing control over my computing (to a certain extent.)

Free software to me means – among other things – the opportunity to understand what my computer is doing at any given time and the power to not let someone else choose what it is doing at any given time. Non-free software makes me gradually lose touch with the tool I have a right to understand and master if so I choose. That‘s why I decided to stay away from non-free software as much as possible.

In many ways, this issue with tracker reminds me why I switched from MS Windows to GNU/Linux initially (and also stayed away from syncing magic like iTunes, besides the nonfree issue.) It‘s the feeling that your computer is doing something (especially lots of read/write) you have little information about and don‘t know whether you want it to or not.

Even after looking up what Tracker does on GNU/Linux, I‘m not completely sure what it does exactly at the moment it‘s running: http://projects.gnome.org/tracker/

You can also find more practical information on tracker at the url below and how it is concretely used and the advantages for users, but this is still not what I‘d expect from a PC for my work projects:https://wiki.ubuntu.com/Tracker

While the idea of indexing content and the practical examples offered in the Ubuntu link are interesting, it‘s only beneficial if you don‘t keep a tight control of your files. For instance, who needs to get their mp3s indexed automatically when they keep them in their Music directory and if they are using MOC.

Using grep and find for all of my search needs has been a great experience so far: endlessly indexing content when I‘m trying to work is a real waste of time and productivity.

Frustratingly, disabling everything using /usr/bin/tracker-preferences didn‘t actually stop tracker from running amok at the next reboot. Killing the tracker-store process actually doesn‘t kill it for very long...

Finally, uninstalling tracker with apt-get (sudo apt-get remove tracker) actually removed a bunch of other packages (including tracker-extract, tracker-gui, tracker-miner-fs, tracker-utils.)

I was afraid of not being able to use Gnome Shell properly after that, but the next reboot was much faster, and my hard drive doesn‘t have to run its daily marathons anymore! I have not noticed any negative side effect.

In a sense, it‘s great that you don‘t need tracker to use Gnome 3 efficiently. That‘s yet another benefit of free software: You don‘t end up being locked with a single solution as is often the case with proprietary software. For this I am grateful to all the developers of free software I dislike and choose not to use.

 

tracker-store and tracker-miner-fs eating up my CPU on every startup

标签:

原文地址:http://www.cnblogs.com/destim/p/5516077.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!