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

Have the ssl process hibernate after 15s #1190

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Conversation

oestrich
Copy link
Contributor

Tell the ssl_gen_statem process to hibernate after 15s of no activity, this will force a GC sweep and keep memory low. Otherwise there's a memory leak that was discovered with :recon.bin_leak/1. Running :recon.bin_leak/1 on a two node cluster and 5k sockets recovered 2GB of memory per node. No memory leak was noticed with this setting and the same amount of devices.

Tell the ssl_gen_statem process to hibernate after 15s of no activity,
this will force a GC sweep and keep memory low. Otherwise there's a
memory leak that was discovered with `:recon.bin_leak/1`. Running
`:recon.bin_leak/1` on a two node cluster and 5k sockets recovered
2GB of memory per node. No memory leak was noticed with this setting and
the same amount of devices.
@oestrich oestrich requested a review from jjcarstens January 18, 2024 21:22
@oestrich oestrich merged commit c23ccd7 into main Jan 18, 2024
2 checks passed
@oestrich oestrich deleted the ssl-hibernate-after-config branch January 18, 2024 22:37
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