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

Grunt server task throws errors, especially after a few repeated saves. #115

Open
facultymatt opened this issue Aug 30, 2013 · 1 comment

Comments

@facultymatt
Copy link

Getting tons of these errors lately, especially when editing css and saving often. Happens every so often when editing js files too.

Thoughts?

Fatal error: EMFILE, too many open files
... Reload server/app/controllers/vendors.js ...
Fatal error: EMFILE, too many open files
... Reload server/app/controllers/vendors.js ...
Fatal error: EMFILE, too many open files
... Reload server/app/controllers/vendors.js ...
Fatal error: EMFILE, too many open files
... Reload server/app/controllers/vendors.js ...
Fatal error: EMFILE, too many open files
... Reload server/app/controllers/vendors.js ...
Fatal error: EMFILE, too many open files
... Reload server/seed.js ...
GET /api/v1/users 304 18ms

Reloading watch config...
>> EMFILE, readdir 'server/bower.json'
glob error { [Error: EMFILE, readdir 'server/bower.json'] errno: 20, code: 'EMFILE', path: 'server/bower.json' }
>> EMFILE, readdir 'server/bower.json'
glob error { [Error: EMFILE, readdir 'server/bower.json'] errno: 20, code: 'EMFILE', path: 'server/bower.json' }
>> EMFILE, readdir '/Users/facultymatt/Sites/mrl/mrl001/server/'
Fatal error: EMFILE, too many open files
Fatal error: EMFILE, too many open files
Fatal error: EMFILE, too many open files
Fatal error: EMFILE, too many open files
Fatal error: EMFILE, too many open files
>> EMFILE, readdir '/Users/facultymatt/Sites/mrl/mrl001/server/config/'
@ericclemmons
Copy link
Owner

Any idea what your ulimit is set too? The default on OSX is 256, and I increased mine to ~2k:

http://stackoverflow.com/questions/34588/how-do-i-change-the-number-of-open-files-limit-in-linux/34645#34645

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