tracker-miner-fs-3 in busyloop due to `SQLite error: disk I/O error (errno: Cannot allocate memory)`
Hello, I hit an interesting bug on a machine i'm working on. Let me write up what's happening now, as it might be tricky to reproduce later.
-
tracker-miner-fs-3 is at the top of
top
:PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 730 pi 39 19 3128312 2.8g 12268 S 190.1 74.6 56:54.36 tracker-miner-f
-
tracker3 status
shows:Currently indexed: 0 files, 0 folders Remaining space on database partition: 17.7 GB (56.57%) Data is still being indexed: Estimated less than one second left
-
tracker3 daemon status --follow
shows:Miners: 07 May 2022, 13:00:44: 0% File System - Initialising Press Ctrl+C to stop
-
journalctl status --user-unit tracker-miner-fs-3.service
shows something more interesting:May 07 12:54:42 quickball.local tracker-miner-f[730]: SQLite error: disk I/O error (errno: Cannot allocate memory) May 07 12:54:42 quickball.local tracker-miner-f[730]: SQLite error: disk I/O error (errno: Cannot allocate memory) May 07 12:54:42 quickball.local tracker-miner-f[730]: SQLite error: disk I/O error (errno: Cannot allocate memory) May 07 12:54:42 quickball.local tracker-miner-f[730]: SQLite error: disk I/O error (errno: Cannot allocate memory) May 07 12:54:42 quickball.local tracker-miner-f[730]: SQLite error: disk I/O error (errno: Cannot allocate memory) May 07 12:54:42 quickball.local tracker-miner-f[730]: SQLite error: disk I/O error (errno: Cannot allocate memory) May 07 12:54:42 quickball.local tracker-miner-f[730]: SQLite error: disk I/O error (errno: Cannot allocate memory)
Version of tracker and tracker-miners - this is 3.3.0.alpha built from source, commits are tracker: a906bd434e72ac550f883c4394fe61c9bbf15457 and tracker-miners: 2de194a6