Hello! I reinstalled my old win10 with win server 2016, hoping that my node will not restart randomly and storj service will fail to start.
Now I got a strange issue: error 1067 and storj service is failing to start.
I reinstalled the app, changed as usual the zksynk option in config.yaml and all seem to work ok for 2 days. Now I got again the same problem.
I looked on previous posts and it seems that there are some error logs found below.
I use an external usb drive for this setup and it worked fine for 2 years without getting this error.
2024-03-28T22:15:37-07:00 INFO lazyfilewalker.used-space-filewalker starting subprocess {“satelliteID”:
“12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”}
2024-03-28T22:15:37-07:00 ERROR lazyfilewalker.used-space-filewalker failed to start subprocess {“satell
iteID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “error”: “context canceled”}
2024-03-28T22:15:37-07:00 ERROR pieces failed to lazywalk space used by satellite {“error”: “lazyfilewalke
r: context canceled”, “errorVerbose”: “lazyfilewalker: context canceled\n\tstorj.io/storj/storagenode/pieces/lazyfilewal
ker.(*process).run:71\n\tstorj.io/storj/storagenode/pieces/lazyfilewalker.(*Supervisor).WalkAndComputeSpaceUsedBySatelli
te:105\n\tstorj.io/storj/storagenode/pieces.(*Store).SpaceUsedTotalAndBySatellite:717\n\tstorj.io/storj/storagenode/piec
es.(*CacheService).Run:57\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:87\n\truntime/pprof.Do:51\n\tstorj.io
/storj/private/lifecycle.(*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75”, “Satellite ID”: “12L
9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”}
2024-03-28T22:15:37-07:00 ERROR piecestore:cache error getting current used space: {“error”: “filew
alker: context canceled; filewalker: context canceled”, “errorVerbose”: "group:\n— filewalker: context canceled\n\tsto rj.io/storj/storagenode/pieces.(*FileWalker).WalkSatellitePieces:69\n\tstorj.io/storj/storagenode/pieces.(*FileWalker).W
alkAndComputeSpaceUsedBySatellite:74\n\tstorj.io/storj/storagenode/pieces.(*Store).SpaceUsedTotalAndBySatellite:726\n\ts torj.io/storj/storagenode/pieces.(*CacheService).Run:57\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:87\n\tr
untime/pprof.Do:51\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(*Group).Go.f
unc1:75\n— filewalker: context canceled\n\tstorj.io/storj/storagenode/pieces.(*FileWalker).WalkSatellitePieces:69\n\ts torj.io/storj/storagenode/pieces.(*FileWalker).WalkAndComputeSpaceUsedBySatellite:74\n\tstorj.io/storj/storagenode/piece
s.(*Store).SpaceUsedTotalAndBySatellite:726\n\tstorj.io/storj/storagenode/pieces.(*CacheService).Run:57\n\tstorj.io/stor
j/private/lifecycle.(*Group).Run.func2.1:87\n\truntime/pprof.Do:51\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func
I think I found the issue: if I add the zksync line in config.yaml, the node gets 1067 error. When I remove it, the node works fine.
The string added is attached.
This is mean a readable timeout - your disk is too slow to respond.
I guess you use a VM, so it’s kind of expected to have a slower respond because of virtualization on a foreign OS (you likely use Linux as a host, right?).
You need to speed up a disk.
Stop the node
Check and fix issues with the disk
Perform a defragmentation
Enable an automatic defragmentation, if you disabled it (it’s enabled by default)
Start the node
If you still see similar errors, then you may perform this adjustment too:
It should help a lot.
If you could still have this error, I would like to suggest either convert it to a docker node running directly on your host, or disable a lazy filewalker:
Perhaps you have a duplicate key. Search for the same option across the config.
Thank you Alexey for the fast reply!
I checked the config.yaml and there is no other lines like this one…
I am thinking that perhaps I have added the command wrong …
It says why is not happy:
Error: While parsing config: yaml: unmarshal errors:
line 342: mapping key “operator.wallet-features” already defined at line 134
You are correct, the quotes are required, if you use square brackets.
It also works without square brackets, if there is only one value. However, if use several values (i.e. ["zksync-era", "zksync"]), then square brackets are required.