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

Allow passing a memory limit for bins #17

Open
rbino opened this issue Nov 29, 2022 · 0 comments
Open

Allow passing a memory limit for bins #17

rbino opened this issue Nov 29, 2022 · 0 comments

Comments

@rbino
Copy link
Owner

rbino commented Nov 29, 2022

Currently the only variables controlling a bin lifetime are LIVE_BIN_INACTIVITY_TIMEOUT and LIVE_BIN_MAX_REQUESTS. Those two don't protect from the fact that a bin could receive very big requests, possibly bringing down the whole BEAM if it gets killed by the OOM.

Another env variable must be added to handle this, allowing to set the max number of bytes a bin can receive

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