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

Node is lagging responding to json RPC command after a period of time #8194

Open
ksiezak opened this issue Feb 11, 2025 · 2 comments
Open

Node is lagging responding to json RPC command after a period of time #8194

ksiezak opened this issue Feb 11, 2025 · 2 comments

Comments

@ksiezak
Copy link

ksiezak commented Feb 11, 2025

Description
After about a week after start of our node, response time for JSON RPC command is becoming longer and longer, and eventually it is stopping responding altogether. Restart of a node helps.

Steps to Reproduce

  1. Start a node
  2. Wait about 5-14 days
  3. Send some command, for example to get eth_blockNumber

Actual behavior
Response is slow or nothing happens.

Expected behavior
Node responds with a block number, or anything we ask about in a timely manner.

Desktop:

  • Operating System: Linux
  • Version: 1.30.3
  • Installation Method: PPA
  • Consensus Client: Prysm 5.2.0

Additional context
ExecStart=/usr/bin/nethermind --Init.StateDbKeyScheme HalfPath --Pruning.Mode None --Pruning.FullPruningTrigger VolumeFreeSpace --Pruning.FullPruningThresholdMb 375810 --Pruning.FullPruningMaxDegreeOfParallelism -1 --Pruning.FullPruningMemoryBudgetMb 16384 --Pruning.CacheMb 2000 --datadir /opt/nethermind/data --JsonRpc.Enabled true --HealthChecks.Enabled true --HealthChecks.UIEnabled true --JsonRpc.JwtSecretFile=/opt/nethermind/jwt.hex --Metrics.Enabled false --Sync.SnapSync true --Init.MemoryHint 1500000000 --JsonRpc.Host 0.0.0.0 --JsonRpc.EnabledModules [Eth,Subscribe,Trace,TxPool,Web3,Personal,Proof,Net,Parity,Health,Rpc,Debug]

Pruning is only temporary disabled due to other reasons. Previously it was set to Hybrid, and the bug was still present.

Logs
I didn't see any errors or anything other than standard log messages. I just now enabled debug logs, so next time it happens I will try to paste anything useful.

@ksiezak
Copy link
Author

ksiezak commented Feb 14, 2025

I managed to gather log from 30 minutes, in which problem happened, at least 3 times. Logs have 113MB in size. Any idea how to filter them so they can be useful?

@flcl42
Copy link
Contributor

flcl42 commented Feb 17, 2025

@ksiezak could you send the entire log if possible

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

3 participants
@flcl42 @ksiezak and others