Linux

/usr/lib/tracker/tracker-store 導致 Debian “Buster” 上的 CPU 負載過重

  • December 18, 2021

上次升級後:

 Operating System: Debian GNU/Linux buster/sid
           Kernel: Linux 4.18.0-2-686-pae
     Architecture: x86

/usr/lib/tracker/tracker-store會佔用大量 CPU。

 PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                          
7039 nath      20   0   96136  24460  11480 R 100,0   1,3   0:01.76 tracker-store

當我跑步時,tracker daemon我得到:

Miners:
17 Nov 2018, 21:17:06:  ?     File System           - Not running or is a disabled plugin
17 Nov 2018, 21:17:06:  ?     Applications          - Not running or is a disabled plugin
17 Nov 2018, 21:17:06:  ?     Extractor             - Not running or is a disabled plugin

我以為我禁用了所有跟踪器活動,它在做什麼?

風扇快瘋了,重啟並沒有改善這種情況。

tracker-store幾乎 100% 的 CPU 執行之後,幾乎一直執行了7 天,似乎我找到了一個簡單的解決方法:

tracker reset --hard

CAUTION: This process may irreversibly delete data.
Although most content indexed by Tracker can be safely reindexed, it can?t be assured that this is the case for all data. Be aware that you may be incurring in a data loss situation, proceed at your own risk.

Are you sure you want to proceed? [y|N]: 

/usr/lib/tracker/tracker-store程序消失了,風扇轉轉,一周後一切都安靜了。重新啟動後tracker-store仍然保持安靜。


Tracker3 更新:

tracker3 reset -s -r

引用自:https://unix.stackexchange.com/questions/482390