ERROR lazyfilewalker.gc-filewalker.subprocess failed to save progress in the database

Solution for Linux:
When you redirect your dbs you can use the foldername to insert some Unique ID to the node.
This ID will appear in the output of ‘ps’ for --info & --info2 parameters.

ps -ef | grep ‘used-space-filewalker’ | grep ‘/app/’ | grep ‘nodeid’

Output of ps:

root 11556 10062 7 10:04 ? 00:44:25 /app/storagenode used-space-filewalker
 --storage config/storage
 --info dbs-nodeid/piecestore.db
 --info2 dbs-nodeid/info.db
 --pieces config/storage
 --driver
 --filestore.write-buffer-size 128.0 KiB
 --filestore.force-sync=false 
 --log.output stderr
 --log.encoding json
 --lower-io-priority=true

Get the PID from ‘ps’ output and use ‘ls’ with this PID, in this example 11556:

ls -l /proc/11556/fd

Output of ls:

total 0
lr-x------ 1 root root 64 Jun 13 15:20 0 -> 'pipe:[151847]'
l-wx------ 1 root root 64 Jun 13 15:20 1 -> 'pipe:[151848]'
l-wx------ 1 root root 64 Jun 13 15:20 2 -> 'pipe:[151849]'
lr-x------ 1 root root 64 Jun 13 15:20 3 -> /app/config/storage/blobs/ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa/jx
lrwx------ 1 root root 64 Jun 13 15:20 4 -> 'anon_inode:[eventpoll]'
lr-x------ 1 root root 64 Jun 13 15:20 5 -> 'pipe:[149965]'
lr-x------ 1 root root 64 Jun 13 15:20 54 -> /app/config/storage/blobs/ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa
l-wx------ 1 root root 64 Jun 13 15:20 6 -> 'pipe:[149965]'

ukfu… is US1 and the filewalker scans currently subfolder ‘jx’.

The subfolders are scanned in alphabetical order, but the satellites are unordered, so you need to use the logs.

2 Likes