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

throws EMFILE on huge directories #2

Open
max-mapper opened this issue Nov 28, 2012 · 2 comments
Open

throws EMFILE on huge directories #2

max-mapper opened this issue Nov 28, 2012 · 2 comments

Comments

@max-mapper
Copy link

pizzacats:viewkit maxogden$ filewatcherthing . make

fs.js:837
    throw errnoException(errno, 'watch');
          ^
Error: watch EMFILE
    at errnoException (fs.js:806:11)
    at FSWatcher.start (fs.js:837:11)
    at Object.fs.watch (fs.js:861:11)
    at watch (/usr/local/lib/node_modules/filewatcherthing/filewatcherthing.js:33:6)
    at /usr/local/lib/node_modules/filewatcherthing/filewatcherthing.js:40:7
    at Array.forEach (native)
    at /usr/local/lib/node_modules/filewatcherthing/filewatcherthing.js:39:8
    at Object.oncomplete (fs.js:297:15)
@max-mapper
Copy link
Author

and by huge I mean modestly big

@evocateur
Copy link

I hit this too, on a directory tree containing ~20k files (though on OS X, by default, it need only be more than 256 files total). This is basically nodejs/node-v0.x-archive#2479 all over again. :(

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

No branches or pull requests

2 participants