Gnome Tracker is stuck

I think I might have b0rked tracker. I wrote a script to stop tracker (killall -STOP all the tracker processes) whenever the system load got too high, and about once per day, it will put the kibosh on tracker, and resume it (killall -CONT) after about a minute. I wrote it, because in my previous experiences with tracker, it froze my system (same system as I’m on now) HARD.

Anyway, it seems a lot better behaved now, but it hasn’t ever finished indexing everything. I have about 500GB of files, so it’s not too insanely massive.

Here’s some debugging info:

$ hr='=========='; uptime; echo $hr; time sync; echo $hr; time tracker status; echo $hr; time tracker daemon
 13:43:43 up 13 days,  3:29,  8 users,  load average: 0.35, 0.56, 0.56

real	0m0.010s
user	0m0.000s
sys	0m0.001s
Currently indexed: 11665 files, 1310 folders
Remaining space on database partition: 528.2 GB (54.48%)

(tracker status:1146078): Tracker-CRITICAL **: 13:44:58.951: Could not get miner progress for 'org.freedesktop.Tracker1.Miner.Files': Timeout was reached

(tracker status:1146078): Tracker-CRITICAL **: 13:45:23.974: Could not get miner progress for 'org.freedesktop.Tracker1.Miner.Extract': Timeout was reached
All data miners are idle, indexing complete

real	1m40.182s
user	0m0.071s
sys	0m0.019s
15 Sep 2020, 13:46:14:    0%  Store                   - Idle 

15 Sep 2020, 13:46:14:  ✗     RSS/ATOM Feeds          - Not running or is a disabled plugin

(tracker daemon:1146299): Tracker-CRITICAL **: 13:46:39.064: Could not get miner progress for 'org.freedesktop.Tracker1.Miner.Files': Timeout was reached
Could not get status from miner: org.freedesktop.Tracker1.Miner.Files
(tracker daemon:1146299): Tracker-CRITICAL **: 13:47:04.074: Could not get miner progress for 'org.freedesktop.Tracker1.Miner.Extract': Timeout was reached
Could not get status from miner: org.freedesktop.Tracker1.Miner.Extract

real	1m40.099s
user	0m0.017s
sys	0m0.008s

inxi info:

$ inxi -Fxxxza --no-host
System:    Kernel: 5.8.3-2-MANJARO x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=c3b1cff2-ed37-4ee0-af3b-d404097c96ef rw quiet 
           root=/dev/mapper/luks-eb7684b1-691d-476a-81d7-9f553231a205 apparmor=1 security=apparmor 
           resume=/dev/mapper/luks-1aa70ee5-d740-4f20-a0ae-699cefa5a54f udev.log_priority=3 
           Desktop: GNOME 3.36.6 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.36.3 Distro: Manjaro Linux 
Machine:   Type: Desktop System: Apple product: iMac12,1 v: 1.0 serial: <filter> Chassis: type: 13 v: Mac-942B5BF58194151B 
           serial: <filter> 
           Mobo: Apple model: Mac-942B5BF58194151B serial: <filter> UEFI: Apple v: date: 04/16/2019 
CPU:       Topology: Quad Core model: Intel Core i5-2400S bits: 64 type: MCP arch: Sandy Bridge family: 6 model-id: 2A (42) 
           stepping: 7 microcode: 2F L2 cache: 6144 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20007 
           Speed: 1629 MHz min/max: 1600/3300 MHz Core speeds (MHz): 1: 1637 2: 1658 3: 1675 4: 1680 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:0102 
           Device-2: Advanced Micro Devices [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] vendor: Apple 
           driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:6741 
           Device-3: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo bus ID: 1-2:3 chip ID: 05ac:850b 
           serial: <filter> 
           Display: x11 server: X.Org 1.20.8 compositor: gnome-shell driver: ati,intel,radeon unloaded: modesetting 
           alternate: fbdev,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.0x11.3") s-diag: 1055mm (41.6") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 103 size: 475x267mm (18.7x10.5") diag: 545mm (21.5") 
           Monitor-2: DisplayPort-0 res: 1920x1080 hz: 60 dpi: 103 size: 475x267mm (18.7x10.5") diag: 545mm (21.5") 
           OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.8.3-2-MANJARO LLVM 10.0.1) v: 3.3 Mesa 20.1.7 compat-v: 3.1 
           direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           chip ID: 8086:1c20 
           Device-2: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] vendor: Apple driver: snd_hda_intel v: kernel 
           bus ID: 01:00.1 chip ID: 1002:aa90 
           Sound Server: ALSA v: k5.8.3-2-MANJARO 
Network:   Device-1: Broadcom and subsidiaries NetXtreme BCM57765 Gigabit Ethernet PCIe driver: tg3 v: kernel port: 2000 
           bus ID: 02:00.0 chip ID: 14e4:16b4 
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Qualcomm Atheros AR93xx Wireless Network Adapter vendor: Apple AirPort Extreme driver: ath9k v: kernel 
           port: 2000 bus ID: 03:00.0 chip ID: 168c:0030 
           IF: wlp3s0 state: down mac: <filter> 
Drives:    Local Storage: total: 8.64 TiB used: 5.95 TiB (68.8%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda vendor: Western Digital model: WD5000AAKS-402AA0 size: 465.76 GiB block size: physical: 512 B 
           logical: 512 B speed: 3.0 Gb/s rotation: 7200 rpm serial: <filter> rev: 1D02 scheme: GPT 
           ID-2: /dev/sdb model: Mercury Electra 6G SSD size: 931.51 GiB block size: physical: 512 B logical: 512 B 
           speed: 6.0 Gb/s serial: <filter> rev: 7B0 scheme: GPT 
           ID-3: /dev/sde type: USB vendor: Western Digital model: WD Elements 25A3 size: 7.28 TiB block size: 
           physical: 4096 B logical: 512 B serial: <filter> rev: 1021 scheme: GPT 
Partition: ID-1: / raw size: 918.37 GiB size: 902.95 GiB (98.32%) used: 365.13 GiB (40.4%) fs: ext4 dev: /dev/dm-0 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 12.85 GiB used: 884.8 MiB (6.7%) priority: -2 dev: /dev/dm-1 
Sensors:   System Temperatures: cpu: 59.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 1198 
Info:      Processes: 302 Uptime: 13d 3h 38m Memory: 11.68 GiB used: 6.82 GiB (58.4%) Init: systemd v: 246 Compilers: 
           gcc: 10.2.0 clang: 10.0.1 Packages: pacman: 1733 lib: 400 flatpak: 0 Shell: Bash v: 5.0.18 running in: guake 
           inxi: 3.1.05 

Running processes:

$ ps -ef |grep -i [t]racker
ram         1901    1525  0 Sep02 ?        00:00:00 /usr/lib/tracker-miner-fs
ram         1906    1525  0 Sep02 ?        00:00:02 /usr/lib/tracker-extract
ram      1064406    1431  0 Sep14 ?        00:00:00 /usr/lib/tracker-store

Lessons learned:

  1. Tracker doesn’t like being killall -STOPped. Had to log out and back in again
  2. There are better ways to stop/pause tracker (tracker daemon pause)
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.