-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Respect ulimit #116
Comments
Of course, after looking at the code, graceful-fs is an optional dependency... Without knowing any of the context behind this, I assume that graceful-fs can't be seamlessly dropped in (hence the optionalDep). Is there any way to get glob to open less files? |
The latest version of graceful-fs is safe to drop in. We should just make Patch welcome. On Monday, September 8, 2014, Peter Braden [email protected] wrote:
|
I'll make you a patch. |
landed on master |
These issues are back due to #71 |
I have run into the infamous 'EMFILE, too many open files' error several times while using glob, and while upping the ulimit does mitigate this temporarily, it doesn't really seem to address the problem that glob is opening way too many files at once.
Perhaps we can use https://github.com/isaacs/node-graceful-fs?
(more people with this error: https://www.google.ch/search?q=EMFILE%2C+too+many+open+files&oq=EMFILE%2C+too+many+open+files&aqs=chrome..69i57j0l5.262j0j7&sourceid=chrome&es_sm=91&ie=UTF-8#q=EMFILE%2C+too+many+open+files+glob)
The text was updated successfully, but these errors were encountered: