什么是 /usr/lib/tracker/tracker-miner-fs ?
man tracker-miner-fs
tracker-miner-fs - Used to crawl the file system to mine data.
有没有人有关于它寄回母舰的链接?
我关闭了所有 ubuntu 桌面搜索
设置 -> 搜索 -> 关闭
那么为什么这还在运行呢?
为什么这些系统启动的高资源猪在启动时会投入其中?至少他们应该知道足够的知识,以便在启动后低调几分钟,然后再破坏系统
这是我的上衣
top
top - 12:18:44 up 2 days, 22:05, 1 user, load average: 1.78, 0.93, 0.81
Tasks: 402 total, 2 running, 397 sleeping, 0 stopped, 3 zombie
%Cpu(s): 3.1 us, 0.8 sy, 12.3 ni, 81.4 id, 0.0 wa, 0.0 hi, 2.3 si, 0.0 st
MiB Mem : 11890.6 total, 2620.7 free, 6532.1 used, 2737.9 buff/cache
MiB Swap: 980.0 total, 520.4 free, 459.6 used. 4676.9 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2465 pie 39 19 907480 181896 5516 R 100.7 1.5 0:41.54 tracker-miner-f
27322 pie 20 0 2815908 300964 152648 S 16.3 2.5 0:05.06 Web Content
26063 pie 20 0 3446052 442824 213372 S 11.6 3.6 1:29.63 firefox-bin
2260 pie 20 0 3986768 495212 66044 S 1.7 4.1 180:56.22 gnome-shell
2591 pie 20 0 4982644 576408 60328 S 0.7 4.7 98:44.12 skypeforlinux
15989 pie 20 0 847760 255684 79192 S 0.7 2.1 76:30.11 opera-developer
10 root 20 0 0 0 0 I 0.3 0.0 3:16.04 rcu_sched
896 root -51 0 0 0 0 S 0.3 0.0 4:12.46 irq/129-iwlwifi
1156 systemd+ 20 0 23168 2976 1992 S 0.3 0.0 0:23.42 systemd-resolve
7691 pie 20 0 1857912 890064 102592 S 0.3 7.3 76:55.09 brave
15919 pie 20 0 609008 63460 40212 S 0.3 0.5 1:11.66 opera-developer
22668 pie 20 0 797876 206564 95392 S 0.3 1.7 1:01.99 brave
1 root 20 0 166808 6648 3776 S 0.0 0.1 0:42.56 systemd
这是pid
ps -eafww|grep 2465
pie 2465 2131 0 Sep07 tty2 00:00:53 /usr/lib/tracker/tracker-miner-fs
这是它的 ubuntu 包
apt-file search tracker-miner-fs
tracker-miner-fs
这是包装说明
apt show -a tracker-miner-fs
Description: metadata database, indexer and search tool - filesystem indexer
This package contains the tracker indexer for indexing your files and folders.
.
Tracker is an advanced framework for first class objects with associated
metadata and tags. It provides a one stop solution for all metadata, tags,
shared object databases, search tools and indexing.
为什么这个系统进程使用了我 100% 的 CPU?
如何清除它......不是通常的方式,因为它似乎被深深嵌入并且做一个简单的包装清除会破坏我的盒子
sudo apt purge tracker-miner-fs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apturl apturl-common libcue2 libgnome-autoar-0-0 libgsf-1-114 libgsf-1-common libtagc0 libtracker-control-2.0-0 libtracker-miner-2.0-0 nautilus-data tracker tracker-extract
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
gnome-shell-extension-desktop-icons* nautilus* nautilus-share* tracker-miner-fs* ubuntu-desktop* ubuntu-desktop-minimal*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 2,704 kB disk space will be freed.
Do you want to continue? [Y/n]
所以让我们不要清除它......只是删除如何
sudo apt remove tracker-miner-fs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apturl apturl-common libcue2 libgnome-autoar-0-0 libgsf-1-114 libgsf-1-common libtagc0 libtracker-control-2.0-0 libtracker-miner-2.0-0 nautilus-data tracker tracker-extract
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
gnome-shell-extension-desktop-icons nautilus nautilus-share tracker-miner-fs ubuntu-desktop ubuntu-desktop-minimal
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 2,704 kB disk space will be freed.
Do you want to continue? [Y/n]
所以删除它也会破坏机器(如果你删除了一个包,而它又想删除包 ubuntu-desktop 你的机器将无法正常启动,因此需要启动到恢复才能启动和运行)
这是它的 ubuntu 包的内容
dpkg -L tracker-miner-fs
/.
/etc
/etc/xdg
/etc/xdg/autostart
/etc/xdg/autostart/tracker-miner-apps.desktop
/etc/xdg/autostart/tracker-miner-fs.desktop
/usr
/usr/lib
/usr/lib/sysctl.d
/usr/lib/sysctl.d/30-tracker.conf
/usr/lib/systemd
/usr/lib/systemd/user
/usr/lib/systemd/user/tracker-miner-apps.service
/usr/lib/systemd/user/tracker-miner-fs.service
/usr/lib/tracker
/usr/lib/tracker/tracker-miner-apps
/usr/lib/tracker/tracker-miner-fs
/usr/share
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.service
/usr/share/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service
/usr/share/doc
/usr/share/doc/tracker-miner-fs
/usr/share/doc/tracker-miner-fs/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/tracker-miner-fs
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/tracker-miner-fs.1.gz
/usr/share/tracker
/usr/share/tracker/miners
/usr/share/doc/tracker-miner-fs/changelog.Debian.gz
/usr/share/tracker/miners/org.freedesktop.Tracker1.Miner.Applications.service
/usr/share/tracker/miners/org.freedesktop.Tracker1.Miner.Files.service
我应该通过关闭它的 systemd 服务来禁用它吗?应该让它一个人呆着吗?
uname -m && uname -r && cat /etc/*release
x86_64
5.0.0-28-generic
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
我看到它使用 dconf-editor ->org->freedesktop->tracker->miner->files 启用
仍然悬而未决的是谁从这次跑步中受益?我是否也可以订阅发送到母舰的提要,让我看到谁在使用我的包/应用程序,如果这是这个工具正在做的事情吗?这里的大局是什么?
GNOME Tracker是一个桌面搜索应用程序。它不会将任何内容发送回“母舰”,实际上它完全离线工作。
听起来您想彻底禁用 GNOME Tracker 而不卸载它。以下是如何以自动化方式执行此操作。
杀死所有当前进程。
停止 systemd 服务。
通过 GNOME 关闭 tracker-miner-fs
gsettings
:这是关于
crawling-interval
:防止跟踪器自动启动。
设置
Hidden=true
所有这些桌面文件:这是我编写脚本的方法:
如果您没有 root 权限或不想更改系统级文件,请改用以下文件:
只有这些内容的文件就可以解决问题:
删除跟踪器数据库。
这实际上不是必需的,但会释放一些硬盘空间。
有关的:
就我而言,有时我只是这样做
tracker reset --soft
,并且可以使用很多天。(我还没有发现是什么动作导致跟踪器发疯。)