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

ETS leaks #304

Merged
merged 4 commits into from
Jul 31, 2024
Merged

ETS leaks #304

merged 4 commits into from
Jul 31, 2024

Conversation

macpie
Copy link
Member

@macpie macpie commented Jul 30, 2024

We never cleanup ets entries for gwmp and http roaming workers. This was an issue mostly for http with high usage like in EU. See graph:

Screenshot 2024-07-30 at 14 26 01

Instead of using ets we are now using gproc instead so that workers are cleaned up from ets automatically on death. Also done for gwmp even if the problem was almost nothing. This should simplify the code as well.

Note that the ETS key for http roaming has been simplified as well to save some memory.

@macpie macpie requested a review from michaeldjeffrey July 30, 2024 21:28
@macpie macpie merged commit 7aba67e into main Jul 31, 2024
17 checks passed
@macpie macpie deleted the macpie/ets_leak branch July 31, 2024 21:21
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

Successfully merging this pull request may close these issues.

2 participants