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

daserver memory surges within minutes #3005

Open
antonio-altr opened this issue Mar 10, 2025 · 0 comments
Open

daserver memory surges within minutes #3005

antonio-altr opened this issue Mar 10, 2025 · 0 comments

Comments

@antonio-altr
Copy link
Contributor

Describe the bug
This is related to: #2963
Even after setting GO garbage collection, we still observe daserver hitting OOM within short amount of time.
It's unclear why daserver requires so much GB of memory within a few minutes.

To Reproduce

  1. Adjust resource limit for daserver
  2. Specify GOGC=80 and GOMEMLIMIT=(90% of memory limit)
  3. Run the daserver
  4. Repeat steps 1-3 with different resource limits

In a matter of minutes, the daserver memory usage surges and straddles the memory limit line
Image

Expected behavior
As daserver is basically just a storage and signing service, I would not have expected it to require this amount of storage.
So maybe some unnecessary caching is happening under the hood.

Additional context
Here is the log from the point where the final surge occurs in the screenshot.
daserver-log.txt

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

1 participant