-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Growing heap up to oom crash on Ethereum mainnet. v1.10.0 #5877
Comments
Thanks for reporting @SpeakinTelnet. This is a known issue (#5851) in Lodestar 1.10 with older NodeJS versions. You have to update NodeJS to a version >=18.17.0 or >=20.1.0. I would recommend to install the latest release of node 20. |
Thanks @nflaig! Looks like I missed the issue in my search. I've updated to the latest NodeJs version and everything seems stable since. Closing the issue as fixed |
We should probably re-open the other issue for better visibility as it is not really resolved until we know all users upgraded their node version. Thanks again for reporting 👍 |
I've been experiencing this 3 times today while syncing Nethermind from scratch with Lodestar. I'm on a Dappnode with Lodestar v1.10.0 upstream |
@czepluch On Dappnode this issue should not be happening as a correct node version is used there, The memory leak would also take at least a day before it would crash Lodestar due to OOM. From what you mentioned, it might be the case that Nethermind takes a lot of memory due to sync and the OOM is not related to Lodestar. It would help if you provide more details
Best would be to open a new issue or just ask in #lodestar-help channel on discord. |
Describe the bug
I have an issue where the heap grows up to the limit of available memory and then crash lodestar. I'm running beacon only on ethereum mainnet.
Lodestar (currently v1.10.0/stable/7546292) is installed from source using
yarn install
followed byyarn build
and I'm using the following systemd service:Here's how the heap usage looks prior and after growing the max-old-space-size to 6144MiB
Here's the trace I get when the node crash:
I'm running similar configuration on Gnosis with validators without such issue.
Expected behavior
For lodestar heap to be stable.
Operating system
Ubuntu 22.04.2 LTS
Lodestar version or commit hash
v1.10.0/stable/7546292
The text was updated successfully, but these errors were encountered: