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

if your library is too big, you'll be spammed with EMFILE errors #220

Closed
bimmlerd opened this issue Apr 23, 2014 · 2 comments
Closed

if your library is too big, you'll be spammed with EMFILE errors #220

bimmlerd opened this issue Apr 23, 2014 · 2 comments
Milestone

Comments

@bimmlerd
Copy link

On Mac OSX, if you have a large enough library, you'll get a large number of this error:

Unable to fs.watch: Error: watch EMFILE
    at errnoException (fs.js:1019:11)
    at FSWatcher.start (fs.js:1051:11)
    at Object.fs.watch (fs.js:1076:11)
    at Player.watchDirEntry (/Users/somebody/somewhere/groovebasin/lib/player.js:651:18)
    at Player.getOrCreateDir (/Users/somebody/somewhere/groovebasin/lib/player.js:687:31)
    at EventEmitter.<anonymous> (/Users/somebody/somewhere/groovebasin/lib/player.js:548:25)
    at EventEmitter.emit (events.js:106:17)
    at walk (/Users/somebody/somewhere/groovebasin/node_modules/findit/index.js:23:17)
    at onstat (/Users/somebody/somewhere/groovebasin/node_modules/findit/index.js:100:13)
    at /Users/somebody/somewhere/groovebasin/node_modules/findit/index.js:88:22

Very likely related to nodejs/node-v0.x-archive#2479

@andrewrk andrewrk changed the title Mac OSX: if your library is too big, you'll be spammed with EMFILE errors if your library is too big, you'll be spammed with EMFILE errors Apr 23, 2014
@andrewrk
Copy link
Owner

I suggest increasing your ulimit to a large number - there's no harm or noteworthy resource utilization in doing this.

However I do think that Groove Basin should be less noisy about these errors.

@andrewrk andrewrk modified the milestone: 1.5.0 Oct 22, 2014
@andrewrk
Copy link
Owner

Now if you leave --verbose off, you won't get any of these errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants