-
Notifications
You must be signed in to change notification settings - Fork 632
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
Bug: Error in gc: GC Error: block on canonical chain shouldn't have refcount 0 #12506
Comments
I tried again, and it failed again with |
Probably should add |
I had this same issue using 2.3.1:
This is after it just randomly stopped downloading blocks and started outputting a lot of these logs:
While not getting any new blocks, it proceeded to continuously increase in RAM usage, then OOMed, restarted itself, and failed with the DBNotFoundErr I sent above |
While the So maybe try leaving it for at least an hour or so and hopefully it will work? also we should:
|
It's hard to say since unfortunately that log line is so opaque, but I think that is most likely an unrelated issue (that of course indicates something is wrong, but I think prob not because of these |
Leaving a node running, it eventually started syncing after 5-6 hours. I agree, adding some logging to indicate this could happen would be very useful. In addition, the hardware docs should be updated to 64GB RAM, since 32GB was not sufficient. |
Do you know did at the same time those 5-6 hours passed, an epoch rolled over? I am wondering is the time related to the work done under the hood, or was is related to new epoch. |
The epoch switch happened less than an hour into its sync. It seems to line up pretty closely to when the node stopped processing blocks Then ~4 hours after the epoch switch, it started processing blocks again |
Contact Details
This GitHub issue or techops at chorus one
Which network are you using?
mainnet
What happened?
s3://near-protocol-public/backups/mainnet/rpc/${latest}/
I see previous issue with the same problem at #11927 but I don't see anything in that GitHub issue that problem was solved.
Relevant log output
The text was updated successfully, but these errors were encountered: