-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nethermind Pruning #123
Comments
Hey! thanks for the suggestion. It looks like the way of triggering the nethermind prunning is through envs vars. We can easily implement the needed envs in the Nethermind package with a nullish value. Finally, you could set the value you want at the package config view and trigger the prune. This should be implemented in all nethermind networks (goerli, gnosis and mainnet) @tropicar thoughts? |
hey thanks for the reply - are you saying this is configurable now? sorry if i misunderstand |
No right now but it would be really easy to implement:
|
Bumping this, because there seems to be quite a bit of demand from the community (and my validator is getting full!)... |
@tropicar, any ETA? I'm reaching ssd limit. |
Same here, would be cool to have it. |
@dsimog01 lets push this! |
Hey is there update on this? I think it would be critical to accompany the update with some help text describing an optimal set up for dappnode to balance disk usage and performance of the nethermind client. It's very unclear from the nethermind docs what settings would be optimal for a home validator and can cause performance issues and poor user experience if set incorrectly |
@tropicar, @pablomendezroyo any news on this? |
Why EXTRA_OPTS not working? It should be as straightforward as setting those flags: |
@kamilchodola What do you think of adding a boolean env |
I'd argue for freedom to configure different settings. For example the recent nethermind update has higher performance with more ram assigned as cache but with diminishing returns. So the cache size needs to be configurable at a minimum. Also the number of cores used for pruning should be configurable as to avoid saturating the cpu and negatively impacting attestations etc. If there isn't going to be a preset default that is optimal for dappnode hardware, it should be configurable so people can test to see what's right for them (based on the nethermind documentation) To avoid burdening the package authoring team with constantly ensuring all environment variables are mapped to the options fields in the UI, how hard would it be to have a way for people to edit the compose file of a live package so they are able to add non-default fields themselves? |
Hi there bumping this issue. Pruning has again been revamped in the latest clients since this issue was opened almost a year ago. Every time someone needs to free disk space they will ask in the support channels how to prune. It's simply not supported in dappnode because end users can't add fields themselves in the UI And/or the package wrapper does not expose these fields End users are forced to drop their execution client chain db entirely and wait for a complete sync. This takes many hours (about 6-8 on my gen 10 Nuc with default settings) and terrible user experience. |
Timely. I tried to pass configs through EXTRA_OPS. Clearly something didn't stick, because I just hit 100% disk space and now i'm halfway through a multi-day downtime during a client hot swap. Not the end of the world, but i'd rather avoid it. |
Any updates? I'm running out of disk space... |
Can you please fix this? This is an issue every user will face |
Are there any updates? |
CLARIFICATION:
FullPruning enabled but not running means that it is enabled but in MANUAL mode - you need to execute json_rpc command (https://docs.nethermind.io/interacting/json-rpc-ns/admin#admin_prune) to start it. About adding some extra configs - we could potentially add some but not sure how helpful those potentially would be, will take a look on that. Best idea so far I have is to add a two dropdown selections in "Config" tab with two fields:
|
Thanks @kamilchodola for the clarification. My take is, that the full pruning is meant for this issue, so was my comment. |
Hey, looking to prune Nethermind or ideally set up online pruning to trigger when disk space is low. (at 250gb for example)
How can this be achieved? under config "Extra Opts" no argument i pass to nethermind through extra opts seems to work every time in the logs its logged as an invalid argument
https://docs.nethermind.io/nethermind/ethereum-client/configuration/pruning
If extra ops isn't working, can we expose the config file to edit through the dappnode UI?
The text was updated successfully, but these errors were encountered: