Gnome桌面tracker进程占用大量磁盘与cpu以及内存资源问题处理

场景:早上刚到公司zabbix监控报警,一个前几天刚给开发安装了gnome桌面的服务器磁盘报警,排查发现

-rw-r--r--. 1 root root 69G Apr 29 09:00 /root/.cache/tracker/meta.db-wal

这个目录占用了69G,这台服务器也没有需要数据存储的需求,查看进程发现大量tracker-*开头的进程大量占用系统资源。

解决办法:

 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   # 这会像跟踪程序守护进程kill那样杀死所有进程,但它也会删除所有进程数据库。重新启动跟踪器存储将重新创建数据库。
 
 Use
 tracker daemon -t    # 停止tracker所有进程
 to terminate and



猜你喜欢

转载自blog.51cto.com/13777759/2491407