KayBeSee / yal-dash

A better way to manage YAL's network.
MIT License
0 stars 0 forks source link

EMFILE, too many open files #1

Open KayBeSee opened 8 years ago

KayBeSee commented 8 years ago

Sometimes I'll get the following error when I start up the app and try to access it via the browser.

/Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/index.js:546
                : opts.basedir || process.cwd()
                                          ^
Error: EMFILE, too many open files
    at globalTr (/Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/index.js:546:43)
    at makeTransform (/Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/module-deps/index.js:251:21)
    at /Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/module-deps/index.js:226:9
    at Deps.getTransforms (/Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/module-deps/index.js:231:7)
    at /Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/module-deps/index.js:366:24
    at onresolve (/Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/module-deps/index.js:178:14)
    at /Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/index.js:475:13
    at /Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/browser-resolve/index.js:268:13
    at /Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/resolve/lib/async.js:44:21
    at ondir (/Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/resolve/lib/async.js:187:31)
    at onex (/Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/resolve/lib/async.js:93:22)
    at /Users/kevinmulcrone/repos/yal-dash/node_modules/moonboots-express/node_modules/moonboots/node_modules/browserify/node_modules/resolve/lib/async.js:24:18
    at Object.oncomplete (fs.js:108:15)

npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.10.35
npm ERR! npm  v2.11.2
npm ERR! code ELIFECYCLE
npm ERR! yal-dash@0.0.0 start: `node server.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the yal-dash@0.0.0 start script 'node server.js'.
npm ERR! This is most likely a problem with the yal-dash package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node server.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls yal-dash
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/kevinmulcrone/repos/yal-dash/npm-debug.log
KayBeSee commented 8 years ago

It get's solved via $ ulimit -n 4096

source