-
Notifications
You must be signed in to change notification settings - Fork 416
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
Too many disk writes #1095
Comments
Could you please tell me how you've measured the amount of data that's been written? We haven't noticed any excessive disk usage on our servers (running either testnet or mainnet nodes), but I'm willing to look into this. |
Today is 1 month of running node, check my stats (not all values look accurate, but i am checking disk SMART too, write values seem fair): |
Okay, so I can confirm this. Because of how LevelDB works, the amount of data written to disk exceeds blockchain (and state) size. There's a way to work around this, but it will take some time to implement. Thanks for your report! |
Is there any solution for this issue? Can we config leveldb to reduce disk writes? |
Running node on the mainnet. For ~20 days got ~800 GiB of disk writes.
This doesn`t look rationally as a whole database just ~16 GiB in size. Raw blockchain in sqlite takes ~5 GiB.
leveldb-cache-size does not change anything.
Is it cause by checkpoints or what?
Can we tune disk writes somehow?
The text was updated successfully, but these errors were encountered: