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

Excessive memory consumption (>40G) after upgrading from 1.27.0 to 1.30.3 #8020

Open
Ragnaruk opened this issue Jan 7, 2025 · 3 comments
Open
Assignees
Milestone

Comments

@Ragnaruk
Copy link

Ragnaruk commented Jan 7, 2025

Description
After upgrading Nethermind from 1.27.0 to 1.30.3 it started consuming (leaking?) memory at a pretty alarming rate.

I am using Nethermind as an RPC node, and it looks like it is at least somewhat related ­— without any load memory consumption seems stable.

Rate of requests if needed:

eth_getCode: ~2k/min
eth_getTransactionReceipt: ~2k/min
trace_transaction: ~600/min
eth_blockNumber: ~20/min
eth_getBlockByNumber: ~20/min

Screenshots
image
image

Desktop (please complete the following information):

  • Operating System: Rocky Linux
  • Version: 8.10 (Green Obsidian)
  • Installation Method: Docker
  • Consensus Client: Prysm v5.2.0
@Ragnaruk
Copy link
Author

Ragnaruk commented Jan 8, 2025

Looks like the problem is with the trace_transaction requests.

Disabling them stabilized memory usage, but didn't reduce it. After a restart, everything returned to normal.

Looks like either the caching is too aggressive or the memory simply isn't released.
image

@kamilchodola
Copy link
Contributor

Hi @Ragnaruk !

Thanks for the report! We will take a look at that as a priority to fix it asap.

@kamilchodola
Copy link
Contributor

kamilchodola commented Jan 9, 2025

@brbrr Please reproduce it on our infra.

@benaadams Did we had any performance optimizations for tarce calls in last versions?

@kamilchodola kamilchodola added this to the 1.31.0 milestone Jan 9, 2025
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