博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
tracker-store and tracker-miner-fs eating up my CPU on every startup
阅读量:6689 次
发布时间:2019-06-25

本文共 4953 字,大约阅读时间需要 16 分钟。

 

 

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 objectExtensible metadata database for apps like gedit and rhythmbox which need to add custom metadata to filesDatabase for first class objects allows using tracker's 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

tracker-extract.desktop

tracker-miner-user-guides.desktop

tracker-miner-apps.desktop

tracker-store.desktop

tracker-miner-fs.desktop

Do the same for /etc/xdg/autostart/tracker-applet.desktop if you wantDisabling tracker for your user onlyEnter the directory ~/.config/autostart, create it if it does not existCreate a file named trackerd.desktopPaste the following into the file, save and exit:[Desktop Entry]Encoding=UTF-8Name=TrackerHidden=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:

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

 

 

 

 

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: 

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:

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.

 

转载地址:http://jdhao.baihongyu.com/

你可能感兴趣的文章
reveal查看任意APP
查看>>
Eucalyptus简介
查看>>
Intellij IDEA 4种配置热部署的方法
查看>>
CCF201412试题
查看>>
HDU1164 Eddy's research I【素因子分解】
查看>>
学习前端工程师手册--学习记录
查看>>
9段高效率开发PHP程序的代码
查看>>
纯干货分享: 如何在 React 框架中使用SpreadJS
查看>>
机器学习实战之logistic回归
查看>>
SQL优化三板斧:精简之道、驱动为王、集合为本
查看>>
MVC中实现部分内容异步加载
查看>>
PTA编程总结2:
查看>>
《C++常见问题及解答》
查看>>
剑指OFFER——顺时针打印矩阵
查看>>
Live Archive 3490 - Generator 概率
查看>>
洛谷 1417 烹调方案
查看>>
Oracle SQL Developer
查看>>
基于DDD的.NET开发框架 - ABP初探
查看>>
Redis持久化机制
查看>>
dede的使用-2
查看>>