Killing tracker in SuSE...
in SuSE I noticed a lot of CPU time with tracker...
--> l /usr/lib/tracker-*
-rwxr-xr-x 1 root root 95720 Oct 8 11:39 /usr/lib/tracker-extract
-rwxr-xr-x 1 root root 32072 Oct 8 11:39 /usr/lib/tracker-miner-apps
-rwxr-xr-x 1 root root 128168 Oct 8 11:39 /usr/lib/tracker-miner-fs
-rwxr-xr-x 1 root root 27984 Oct 8 11:39 /usr/lib/tracker-miner-user-guides
-rwxr-xr-x 1 root root 139680 Oct 8 11:39 /usr/lib/tracker-store
-rwxr-xr-x 1 root root 40776 Oct 8 11:39 /usr/lib/tracker-writeback
top - 22:45:34 up 1:41, 1 user, load average: 3.22, 3.12, 2.98
Tasks: 189 total, 3 running, 185 sleeping, 0 stopped, 1 zombie
%Cpu(s): 24.0 us, 13.5 sy, 3.0 ni, 47.1 id, 12.3 wa, 0.0 hi, 0.2 si, 0.0 st
KiB Mem: 8106268 total, 7950188 used, 156080 free, 241604 buffers
KiB Swap: 10481660 total, 72 used, 10481588 free. 3581788 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3937 luser 20 0 5328072 2.331g 2.220g R 118.3 30.16 95:09.74 VirtualBox
1728 luser 39 19 2220444 636740 29152 S 23.00 7.855 23:31.59 tracker-extract
1577 root 20 0 613592 159256 72492 R 16.00 1.965 11:10.82 X
I really don't like all these extra "features" and tools tossed into Linux. Why are they allowing this stuff?
--> zypper remove tracker
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 3 packages are going to be REMOVED:
tracker tracker-lang tracker-miner-files
3 packages to remove.
After the operation, 5.2 MiB will be freed.
Continue? [y/n/? shows all options] (y): y
(1/3) Removing tracker-lang-1.8.0-1.8.noarch ..............................................................................................[done]
(2/3) Removing tracker-miner-files-1.8.0-1.8.x86_64 .......................................................................................[done]
(3/3) Removing tracker-1.8.0-1.8.x86_64 ...................................................................................................[done]
There are some running programs that might use files deleted by recent upgrade.
You may wish to check and restart some of them. Run 'zypper ps -s' to list these programs.
------------------------------------------------
checked top, saw that it was still running with luser, kill -9 'pid', ended issue.
--> l /usr/lib/tracker-*
/bin/ls: cannot access '/usr/lib/tracker-*': No such file or directory
next... gvfs...
--> ps -ef | grep gvfs
luser 1719 1 0 21:05 ? 00:00:00 /usr/lib/gvfs/gvfsd
luser 1761 1 0 21:05 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
luser 1903 1 0 21:05 ? 00:00:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
luser 1960 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
luser 1966 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
luser 1971 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
luser 1985 1 0 21:06 ? 00:00:55 /usr/lib/gvfs/gvfsd-metadata
luser 1992 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.11 /org/gtk/gvfs/exec_spaw/0
luser 5391 1 0 22:46 ? 00:00:00 /usr/lib/gvfs/gvfsd-network --spawner :1.11 /org/gtk/gvfs/exec_spaw/1
luser 5407 1 0 22:46 ? 00:00:00 /usr/lib/gvfs/gvfsd-dnssd --spawner :1.11 /org/gtk/gvfs/exec_spaw/3
luser 5869 5209 0 23:24 pts/0 00:00:00 grep --color=auto gvfs
------------------------------------------------
luser@penguin [/home/luser]
------------------------------------------------
--> sudo zypper remove gvfs
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 12 packages are going to be REMOVED:
gvfs gvfs-backend-afc gvfs-backends gvfs-backend-samba gvfs-lang mate-menu mate-menu-lang mate-panel mate-panel-branding-openSUSE
mate-panel-lang pcmanfm pcmanfm-lang
12 packages to remove.
After the operation, 16.9 MiB will be freed.
Continue? [y/n/? shows all options] (y): y
( 1/12) Removing gvfs-backend-afc-1.28.3-2.2.x86_64 .......................................................................................[done]
( 2/12) Removing gvfs-backend-samba-1.28.3-2.2.x86_64 .....................................................................................[done]
( 3/12) Removing gvfs-lang-1.28.3-2.2.noarch ..............................................................................................[done]
( 4/12) Removing mate-menu-lang-5.7.1-1.2.noarch ..........................................................................................[done]
( 5/12) Removing mate-panel-lang-1.16.0-1.2.noarch ........................................................................................[done]
( 6/12) Removing pcmanfm-lang-1.2.3-3.4.noarch ............................................................................................[done]
( 7/12) Removing mate-panel-branding-openSUSE-42.1-1.5.noarch .............................................................................[done]
( 8/12) Removing pcmanfm-1.2.3-3.4.x86_64 .................................................................................................[done]
( 9/12) Removing mate-panel-1.16.0-1.2.x86_64 .............................................................................................[done]
(10/12) Removing mate-menu-5.7.1-1.2.noarch ...............................................................................................[done]
(11/12) Removing gvfs-backends-1.28.3-2.2.x86_64 ..........................................................................................[done]
(12/12) Removing gvfs-1.28.3-2.2.x86_64 ...................................................................................................[done]
There are some running programs that might use files deleted by recent upgrade.
You may wish to check and restart some of them. Run 'zypper ps -s' to list these programs.
checked luser, still running...
--> ps -ef | grep gvfs
luser 1719 1 0 21:05 ? 00:00:00 /usr/lib/gvfs/gvfsd
luser 1761 1 0 21:05 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
luser 1903 1 0 21:05 ? 00:00:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
luser 1960 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
luser 1966 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
luser 1971 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
luser 1985 1 0 21:06 ? 00:00:55 /usr/lib/gvfs/gvfsd-metadata
luser 1992 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.11 /org/gtk/gvfs/exec_spaw/0
luser 5391 1 0 22:46 ? 00:00:00 /usr/lib/gvfs/gvfsd-network --spawner :1.11 /org/gtk/gvfs/exec_spaw/1
luser 5407 1 0 22:46 ? 00:00:00 /usr/lib/gvfs/gvfsd-dnssd --spawner :1.11 /org/gtk/gvfs/exec_spaw/3
luser 6040 5209 0 23:26 pts/0 00:00:00 grep --color=auto gvfs
tried to kill -9 as a mere mortal... no happiness... respawned
------------------------------------------------
luser@penguin [/home/luser]
------------------------------------------------
--> kill -9 1719
------------------------------------------------
luser@penguin [/home/luser]
------------------------------------------------
--> ps -ef | grep gvfs
luser 1761 1 0 21:05 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
luser 1903 1 0 21:05 ? 00:00:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
luser 1960 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
luser 1966 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
luser 1971 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
luser 1985 1 0 21:06 ? 00:00:55 /usr/lib/gvfs/gvfsd-metadata
luser 1992 1 0 21:06 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.11 /org/gtk/gvfs/exec_spaw/0
luser 5391 1 0 22:46 ? 00:00:00 /usr/lib/gvfs/gvfsd-network --spawner :1.11 /org/gtk/gvfs/exec_spaw/1
luser 5407 1 0 22:46 ? 00:00:00 /usr/lib/gvfs/gvfsd-dnssd --spawner :1.11 /org/gtk/gvfs/exec_spaw/3
luser 6042 5209 0 23:27 pts/0 00:00:00 grep --color=auto gvfs
tried to kill -9 as root, note PIDs 1992, 5391 and 5407 above... spawner
but needed to kill all associated processes,
so...
------------------------------------------------
luser@penguin [/home/luser]
------------------------------------------------
--> sudo kill -9 1761 1903 1960 1966 1971 1985 1992 5391 5407
------------------------------------------------
luser@penguin [/home/luser]
------------------------------------------------
--> ps -ef | grep gvfs
luser 6046 5209 0 23:27 pts/0 00:00:00 grep --color=auto gvfs
------------------------------------------------
gone... tracker and gvfs...
slowly but surely I'll have a clean Linux system... will need to go back to these notes and write a clean script.
4 Jan 2017
|