-
Notifications
You must be signed in to change notification settings - Fork 973
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
Celestia light node storage filling up quickly #3352
Comments
@ramin can you please transfer this to celestia-node? |
hi @Alper2022 no that doesn't sound normal. Are there any logs you can share? Also, not sure if a typo or not, but you should start the light node with |
I could share the "nohup" output file, but unfortunately there doesn't seem to be anything concrete on there that i could figure the issue out from. currently this is what the "~/.celestia-light/data/" directory looks like: this is also the error nohup gives when the storage gets too full(last successful header/store line added for clarity):
some system specs: /etc/os-release:
uname -a: Please let me know if i can be of more help, or if there is any specific tests you'd want me to run, im not that active on github so i don't immediately get a notification when a comment gets added |
Hello @Alper2022! Thank you for bringing this to our attention. It seems that your node was initialized with an earlier version of our software, which could use up to 64GB of storage because it lacked the sampling window feature. This feature allows the node to store data starting from 30 days prior to initialization. Currently, there is no automatic cleanup for storage, so the size will continue to grow over time. We are actively developing a solution known as "light node pruning." To address this issue immediately, please upgrade to our latest version, v0.13.4, and reinitialize your node. A node initialized with this version should only occupy around 33GB, storing samples from the last 30 days only. Here's how you can upgrade and reinitialize your node:
This process will reset your keys, so please contact us if you need assistance in preserving them. We are also developing a pruning features to further address storage growth in light nodes, which will be available in a future updates. |
@Alper2022 what version of celestia-node were you on when you made this ticket? |
The version i was running was the one in february, i had updated by pulling the most recent main branch in april, but i hadn't forced a resync by deleting the I assume if i backup the Thank you @walldiss @jcstein for the rapid and detailed responses! |
You are right, you just need to persist |
Gonna run a test today on 1 node, i'll let you know tomorrow how it went ^^ |
@Alper2022 how did test go? |
After running it for 4 days the celestia-light node shutdown again due to the data directory being filled up again, so unfortunately it didn't fix it |
FYI @Alper2022 we've increased the requirements for light nodes in our documentation in celestiaorg/docs#1564 |
No worries, i could also just do a hack and auto-clean the data directory with a cronjob, unless that breaks something? |
Closed due to being a known bug, Celestia node requirements are changed |
Hello!
I am currently running 4 celestia light nodes on a cluster of Raspberry Pi's i had lying around, all of them pi 4's with a 64gb storage card and 8gb of ram.
The issue i currently am noticing is, when running these nodes they QUICKLY fill up all the space on the disk, most of the space being lost to ~/.celestia-light/data/
My question basically is:
Is it normal for ~/.celestia-light/data/ to completely fill up, and end up shutting down the light node? or am i forgetting a configuration?
Thank you for your time and attention!
with kind regards,
Alper
edit: the command i run the nodes with is "nohup celestia light &"
The text was updated successfully, but these errors were encountered: