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

fix: ulimit error #241

Merged
merged 7 commits into from
Jan 10, 2023
Merged

fix: ulimit error #241

merged 7 commits into from
Jan 10, 2023

Conversation

ChaoticTempest
Copy link
Member

Unsure if this actually fixes #237, but it should according to nearcore code. Still need to test this with ulimits set below certain bounds, but this also provides a way to manually override the max open files with an environment var.

We shouldn't need to configure an env var for every configurable in config.json though, but requires #220 to make it in first before we can offer easier ways to configure things (by passing in configs into the sandbox builder)

@ChaoticTempest ChaoticTempest changed the base branch from main to feat/conf-sandbox December 8, 2022 22:59
Base automatically changed from feat/conf-sandbox to main December 13, 2022 02:14
@ChaoticTempest
Copy link
Member Author

tested on Windows WSL2 and fixes the issue

@ChaoticTempest ChaoticTempest marked this pull request as ready for review January 5, 2023 23:37
Copy link
Contributor

@DavidM-D DavidM-D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

workspaces/src/network/config.rs Outdated Show resolved Hide resolved
workspaces/src/network/config.rs Outdated Show resolved Hide resolved
@ChaoticTempest ChaoticTempest merged commit 43a21c6 into main Jan 10, 2023
@ChaoticTempest ChaoticTempest deleted the fix/ulimit branch January 10, 2023 00:57
@frol frol mentioned this pull request Oct 4, 2023
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.

Sandbox shouldn't require setting a very high ulimit to run
3 participants