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

Add swap and adjust OOM handling in sandbox #151

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Add swap and adjust OOM handling in sandbox #151

merged 3 commits into from
Apr 24, 2024

Conversation

ValentaTomas
Copy link
Member

@ValentaTomas ValentaTomas commented Apr 23, 2024

This PR configures small swaps space (limited by free disk) and OOM handling of envd and start command to prevent the most frequent OOM during sandbox usage. For proper OOM handling the zram/zswap and other OOM handling techniques (envd child process oom adjust) should be explored.

After we merge this we should rebuild the templates:

  • base
  • code-interpreter
  • code-interpreter-stateful

@ValentaTomas ValentaTomas added bug Something isn't working improvement Improvement for current functionality labels Apr 23, 2024
@mlejva
Copy link
Member

mlejva commented Apr 23, 2024

A little bit OT but we should get rid of code-interpreter-stateful name and have just one code-interpreter template and migrate users to https://github.com/e2b-dev/code-interpreter

@jakubno jakubno merged commit 0fab435 into main Apr 24, 2024
@jakubno jakubno deleted the swap branch April 24, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working improvement Improvement for current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants