[FIXED] Error: ENFILE: file table overflow (open file limit)


#1

Hi there! I have just installed reaction using the CLI.

Here is the result of reaction -v:
Node: 6.9.1
NPM: 3.10.8
Reaction: 0.17.1
Reaction CLI: 0.5.1

I don’t know how to solve the error that it’s throwing:

~/reaction @ Estudios-iMac (alexander)
| => reaction

Using settings file at settings/dev.settings.json

Setting up plugin imports…

[[[[[ ~/reaction ]]]]]

=> Started proxy.
For compatibility, the PACKAGE_DIRS environment variable is deprecated and will
be removed in a future Meteor release.
Developers should now use METEOR_PACKAGE_DIRS and Windows projects should now
use a semi-colon (:wink: to separate paths.
=> Started MongoDB.
/Users/alexander/reaction/node_modules/fibers/future.js:280
throw(ex);
^

Error: ENFILE: file table overflow, scandir '/Users/alexander/reaction/.meteor/local/.build994204.build’
at Error (native)
at Object.fs.readdirSync (fs.js:808:18)
at rmkidsSync (/Users/alexander/.meteor/packages/meteor-tool/.1.4.2_3.12lhmmp++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/rimraf/rimraf.js:329:11)
at rmdirSync (/Users/alexander/.meteor/packages/meteor-tool/.1.4.2_3.12lhmmp++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (/Users/alexander/.meteor/packages/meteor-tool/.1.4.2_3.12lhmmp++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/rimraf/rimraf.js:293:9)
at Object.rm_recursive (/tools/fs/files.js:283:12)
at Builder.abort (/tools/isobuild/builder.js:693:11)
at /tools/isobuild/bundler.js:2511:13
at /tools/isobuild/bundler.js:2800:22
at /tools/utils/buildmessage.js:271:13
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:264:29
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:262:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:253:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.capture (/tools/utils/buildmessage.js:252:19)
at bundle (/tools/isobuild/bundler.js:2633:31)
at /tools/isobuild/bundler.js:2580:32
at Object.withCache (/tools/fs/files.js:1601:12)
at Object.exports.bundle (/tools/isobuild/bundler.js:2580:16)
at /tools/runners/run-app.js:574:36
at Function.run (/tools/tool-env/profile.js:490:12)
at bundleApp (/tools/runners/run-app.js:573:34)
at AppRunner._runOnce (/tools/runners/run-app.js:617:35)
at AppRunner._fiber (/tools/runners/run-app.js:876:28)
at /tools/runners/run-app.js:403:12

I deeply appreciate your help!


#2

That looks like the open file limit issue that plagues OSX. See this blog post for the solution…

http://blog.mact.me/2014/10/22/yosemite-upgrade-changes-open-file-limit


#3

#4

SOLVED! Thanks a lot jeremy. I really really appreciate your help!