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

Error: EMFILE, too many open files #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

lordkada
Copy link

I had a tedious EMFILE error (too many open files) serving about 125 files...
In this patch I've solved the problem using a queue (async.queue) which prevents to run out the resources (the concurrency level is arbitrarily set to 10 => max 10 files open at the same time)

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.

1 participant