-
Notifications
You must be signed in to change notification settings - Fork 251
EMFILE: too many open files #997
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
Comments
I am aware of this possibility. The problem is that we spawn a new scanner for every sub folder. We should really have a limit on the number of fs scanning jobs and add in a queue to manage any folders that need scanning beyond that number. There is a refactor already under way for this section of the code. If no one else volunteers, I may make this change after that lands. |
I would like to work on this issue but I have never actually hit it myself and don't have a way to recreate it. If someone could provide me with reliable steps to reproduce it I will work on it. |
When I created the issue I was testing with https://github.com/qmk/qmk_firmware and expanded a lot of folders inside the https://github.com/qmk/qmk_firmware/tree/master/keyboards directory. Then I closed neotree, and opened it again - that triggered the error. |
When too many nodes are expanded and then neo-tree is toggled, getting this:
The text was updated successfully, but these errors were encountered: