Open koalalorenzo opened 5 years ago
So, we currently run GC when (a) it's enabled and (b) we surpass the storage max. This is likely a duplicate of https://github.com/ipfs/go-ipfs/issues/5140 but I'll keep this open until we can confirm that.
The issue is that the IPFS gateway is running with an actual option to enable gc.
I run manually the gc to solve the issue, but often it fills up the disk.
A good long-term solution would be to use some more "standard" way to configure IPFS from both CLI as well as the configuration file. @Stebalien as a short solution, is there anything I can help to debug this?
I wonder if the daemon is restarting before it tries to GC? If you'd like to debug this, you'll probably need to dig into the code (and shorten the GC timeouts to see where this is going wrong).
Version information:
Type: Bug
Description:
After a while or running 0.4.20 in production and serving content, the system seems to not respect the StorageMax rule in the configuration.
I currently have these settings in the configuration:
But the size of the
ipfs
directory is 15GBThe GC is enabled when starting the daemon (using the args). Is there any way to enforce the GC via the configuration? That might be an issue.