nethermind
nethermind copied to clipboard
Pruning is not triggered for `VolumeFreeSpace`
Pruning was not triggered when the storage space dropped to below the specified threshold.
Steps to Reproduce The user used the following configuration:
--config mainnet \
--datadir /var/lib/nethermind \
--Sync.SnapSync true \
--Sync.AncientBodiesBarrier 11052984 \
--Sync.AncientReceiptsBarrier 11052984 \
--JsonRpc.JwtSecretFile /var/lib/jwtsecret/jwt.hex
--JsonRpc.AdditionalRpcUrls http://127.0.0.1:1337|http|admin \
--JsonRpc.EnginePort 8551 \
--JsonRpc.EngineHost 127.0.0.1 \
--Pruning.FullPruningCompletionBehavior AlwaysShutdown \
--Pruning.FullPruningTrigger=VolumeFreeSpace \
--Pruning.FullPruningThresholdMb=330000 \
--Pruning.FullPruningMaxDegreeOfParallelism 2 \
--Pruning.FullPruningMemoryBudgetMb=4096
Actual behavior Pruning was not triggered even when the free disk space dropped to 227 GB.
Expected behavior
Pruning should be triggered when the free disk space drops to ~320 GB (330k MB) according to the Pruning.FullPruningThresholdMb=330000
flag.
Desktop:
- Operating System: Ubuntu
- Version: n/a
- Installation Method: n/a, run as service
- Consensus Client: n/a
Additional context The original issue has been reported on Discord.