This repository was archived by the owner on Nov 6, 2020. It is now read-only.
Effect of --pruning-history flags on disk usage behavior not as expected #6584
Labels
F2-bug 🐞
The client fails to follow expected behavior.
M4-core ⛓
Core client code / Rust.
Z0-unconfirmed 🤔
Issue might be valid, but it’s not yet known.
Parity version:
$ parity --version | grep version
version Parity/v1.6.10-unstable-1a5b17626-20170721/x86_64-linux-gnu/rustc1.18.0
Operating system:
$ uname -a
Linux p-test 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
And installed:
compiled from source
I am trying to run a parity instance on a digital-ocean node with a main parition of 30GB for development purposes. I want to keep some tri-state history, rather than run a completely light node.
Running parity with the following flags,
It syncs quickly, and uses an initial 10GB disk use. According to, https://ethereum.stackexchange.com/questions/143/what-are-the-ethereum-disk-space-needs (last update June), this is correct and subsequent growth should be on the order of 1GB / month.
However, over the course of a few hours, the overlayrecent directory consumes the rest of the drive, and I get a characteristic "No space left on device" error.
I found suggestions that this tri-state history can be restricted, using the --pruning-history flags, where the default is to keep 64 states. I tried setting it to 16 and then 3.
However this leads to the same behavior.
Is this expected? And is there any practical guidance or documentation on the use of this flag? Is it unreasonable to expect to run parity in under 30GB like this?
The text was updated successfully, but these errors were encountered: