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

OOM events triggered due to Nomad RAM limits being ignored by Erigon #1593

Open
C7-C5 opened this issue Dec 20, 2024 · 2 comments
Open

OOM events triggered due to Nomad RAM limits being ignored by Erigon #1593

C7-C5 opened this issue Dec 20, 2024 · 2 comments

Comments

@C7-C5
Copy link

C7-C5 commented Dec 20, 2024

1734690522304

The RAM usage chart indicates repeated Out of Memory (OOM) events (represented by the red graph spikes) caused by Erigon's behavior. Erigon seems to only consider the total server RAM and disregards the specified limits.

Expected result:
Erigon should respect the RAM limits configured in Nomad and operate within the allocated memory boundaries, preventing OOM events.

Actual result:
Erigon ignores Nomad RAM limits and uses memory based on the server's available RAM, leading to OOM events.

@mandrigin
Copy link
Collaborator

okay, turns out it was because of rebuilding in memory

@revitteth
Copy link
Collaborator

I wonder if we can close - or is it worth investigating use of:

env {
  GOMEMLIMIT = "4GiB"
}

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