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

Memory leak #974

Closed
corverroos opened this issue Aug 15, 2022 · 1 comment
Closed

Memory leak #974

corverroos opened this issue Aug 15, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@corverroos
Copy link
Contributor

Problem to be solved

There seems to be a memory leak in charon. The metric go_memstats_alloc_bytes shows exponential growth resulting in docker container hanging.

image

Proposed solution

Find the leak and plug it.

@corverroos corverroos added the bug Something isn't working label Aug 15, 2022
obol-bulldozer bot pushed a commit that referenced this issue Aug 15, 2022
Fixes leaked context in consensus stream handler due to variable shadowing.

Also trim receive channel on duty deadline.

category: bug
ticket: #974
obol-bulldozer bot pushed a commit that referenced this issue Aug 16, 2022
Trim expired duties in dutydb.

category: feature 
ticket: #974
@corverroos
Copy link
Contributor Author

This seems to be fixed for now
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant