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

Raise the fdlimit if we detect too many open files #88

Closed
insipx opened this issue Aug 31, 2020 · 3 comments · Fixed by #94
Closed

Raise the fdlimit if we detect too many open files #88

insipx opened this issue Aug 31, 2020 · 3 comments · Fixed by #94
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@insipx
Copy link
Collaborator

insipx commented Aug 31, 2020

This crate: https://github.com/paritytech/fdlimit could help quell the common issue users run into when starting substrate archive for the first time, the too many open files error. This error that occurs as a result of the secondary rocksdb database requiring all files of the primary database to be kept open.

@insipx insipx added good first issue Good for newcomers bug Something isn't working labels Aug 31, 2020
@liuchengxu
Copy link
Contributor

Sounds like we also want to raise a warning like paritytech/substrate#6956?

@insipx
Copy link
Collaborator Author

insipx commented Sep 10, 2020

yeah, a warning with some context would be ideal

liuchengxu added a commit to liuchengxu/substrate-archive that referenced this issue Sep 12, 2020
liuchengxu added a commit to liuchengxu/substrate-archive that referenced this issue Sep 12, 2020
@liuchengxu
Copy link
Contributor

@insipx Hi, please take a look at #94, I simply borrowed paritytech/substrate#6956, let me know if you want to display more context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants