-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
Geth always ~100 blocks behind - knownStates always 0 #23553
Comments
Since a recent geth upgrade, I'm running into similar problem. |
Only a few hours later from posting this, something has changed, after days and days of waiting. Ironic. Now I'm getting this:
and the output has changed too:
and some ETA has appeared ( The question is: Would this have had changed if I hadn't created this issue? 😎 |
When you opened the issue, Geth was still finishing up sync. When you snap sync, first we download most of the state data via snapshots, but need to apply certain changes on top that the network did in between. Since we don't know how many changes the network did, we can't show an ETA for this step. The longer downloading the snapshots takes, the longer it will take to fill in the stuff the network did concurrently to you syncing. In your second log, you're already synced, it's just fixing stuff up for the acceleration structure, which is done in a background, you can use your node (although it does take it's disk toll). The |
Is there a way to provide more info in the sync stage? even a reassurance that something is happening, that some progress is being made? No need for an ETA, really, but an absolute number that is growing would be enough. Any indication that Geth is not just stuck but doing something. This is a big problem for new users. All new users see is the difference between It made me quite anxious, enough that I installed OpenEthereum and fully synced it. But I understand that OE is on its way out so I was back in square one. It was going back to Geth or try Erigon. I decided to give Geth another chance. |
I initiated some discussion some time ago here: https://ethereum-magicians.org/t/improve-syncing-rpc-call/6994 |
I have the same problem. So what can I do now? This state lasted for several days. It seems that it will never start working |
Just wait, it doesn't seem that it is progressing but it is |
This is a big problem for geth. New users can't trust that geth will finish synching. I hope the developers take notice. |
same issue |
The stats are not updated in snap sync, those will be fixed in #23576. |
System information
Geth version: 1.10.8-stable
OS & Version: Ubuntu 21.04
Hardware: 8 Gb ram - 2TB WD blue M2 SATA SSD
Actual behaviour
Geth is always ~100 blocks behind, no matter when I check. It never starts downloading states.
In forums, people always blame the SSD. I included the hardware info so that we don't lose time with that question.
It is much more likely to be a bug than the SSD.
The text was updated successfully, but these errors were encountered: