Skip to content
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

Juno calling eth_getBlockByNumber extensively #1915

Closed
eiabea opened this issue Jun 22, 2024 · 1 comment
Closed

Juno calling eth_getBlockByNumber extensively #1915

eiabea opened this issue Jun 22, 2024 · 1 comment
Assignees

Comments

@eiabea
Copy link

eiabea commented Jun 22, 2024

My geth node is currently re-syncing because of an scheme change from hash to path. I noticed a high cpu usage and a lot of the following logs from geth:

geth-1  | WARN [06-22|10:57:08.686] Served eth_getBlockByNumber              reqid=496507 duration="78.329µs"  err="finalized block not found"
geth-1  | WARN [06-22|10:57:08.686] Served eth_getBlockByNumber              reqid=496508 duration="23.214µs"  err="finalized block not found"
geth-1  | WARN [06-22|10:57:08.686] Served eth_getBlockByNumber              reqid=496509 duration="25.559µs"  err="finalized block not found"
geth-1  | WARN [06-22|10:57:08.687] Served eth_getBlockByNumber              reqid=496510 duration="54.814µs"  err="finalized block not found"

After stopping Juno the logs stopped. Looks like Juno gets stuck in some kind of loop trying to get the block desperately

@weiihann
Copy link
Contributor

Probably because there's no limit mechanism before retrying, as shown here. Let me do a quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants