large repo + diskUsage calc timesout systemd unit #6741
Labels
kind/bug
A bug in existing code (including security flaws)
kind/enhancement
A net-new feature or improvement to an existing feature
Version information:
go-ipfs version: 0.4.22-
Repo version: 7
System version: amd64/linux
Golang version: go1.12.9
Please check dist.ipfs.io for a newer version of go-ipfs and update if necessary. Report back if the problem persists.
Description:
I have a very large repo (10TB+ on XFS). Sometimes (I don't know the interval), ipfs-daemon decides it needs to refresh the blocks/diskUsage.cache file on startup, and takes so long computing the new usage, that systemd thinks the service has failed to start and kills the process. How can I disable the recalculation or make it run only after the daemon has started up, in a background thread?
The text was updated successfully, but these errors were encountered: