-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
"State heal in progress" after sync forever #1198
Comments
@DaveWK tDo you sync for the first time? Do you use snapshot |
Synced from genesis using --syncmode=snap; has been syncing for 4 days. in the logs I see:
using 1.7 TB disk space. I have moved the |
Same here on a 48 cores server, load avg less than 10%.
In other discussions it has been said it is because server has not enough resources to catchup. |
Hi, the state heal seems like a loop but usually it is not. This process can take time to finish, sometimes days.
Hi, you have enough memory for sure, try increasing the --cache to a higher value. What is your IOPS of your storage? and what is the reason you need all the ancient data? Do you need all the historical data of the Blockchain? If you do so you may need to run an Archive node. Also for this type of questions I would recommend to reach out on Discord for faster response: https://discord.gg/bnbchain |
Thanks for the suggestion. I just deleted the whole chain and restarted the node with --syncmode full option. |
This has happened to me before in ehtereum geth recently (v1.10.25), and the suggestion was to use the rolling v1.11 version: After failing and stuck in state heal on v1.10.25, can confirm 1.11.0-unstable-1daea030 worked. You may be able to find the bug fix or improvement by bisecting the go-ethereum code |
I did a little bit of looking, and think I have narrowed it down to these 3 commits: |
@DaveWK Thanks, we will look into it. |
@DaveWK, have you tried with the PR? I'm running it now, on 3rd day of State Heal |
System information
Geth version: 1.17
OS & Version: Linux, Fedora 37
Expected behaviour
Finishes syncing and able to use RPC
Actual behaviour
Never seems to finish syncing, keeps saying
in logs
Steps to reproduce the behaviour
Node is an AWS c6a.8xlarge Plenty of disk IO and space.
The text was updated successfully, but these errors were encountered: