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

Prevent startup when RLIMIT_NOFILE is too low #4192

Closed
kostko opened this issue Aug 8, 2021 · 0 comments · Fixed by #4193
Closed

Prevent startup when RLIMIT_NOFILE is too low #4192

kostko opened this issue Aug 8, 2021 · 0 comments · Fixed by #4193
Assignees
Labels
c:common Category: common libraries

Comments

@kostko
Copy link
Member

kostko commented Aug 8, 2021

The oasis-node process currently warns when the RLIMIT_NOFILE is set to a value less than or equal to 1024. Given that a too low limit can cause problems with BadgerDB we should probably fail startup if the limit is below something like 50k.

@kostko kostko added the c:common Category: common libraries label Aug 8, 2021
@ptrus ptrus self-assigned this Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:common Category: common libraries
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants