On Tue, Feb 12, 2013 at 5:45 PM, Brent Baker <[email protected]> wrote:
> I am seeing 2 failures running the "test" make target with a clean clone of
> the git repo and I am wondering if this is a local config issue I have or
> are these known issues?
>
> platform: OS X 10.8
>
> % ./configure
> % make -j20
> % make test
> ...
> === release test-child-process-customfd-bounded ===
> Path: simple/test-child-process-customfd-bounded
> child_process.js:869
>     throw errnoException(errno, 'spawn');
>           ^
> Error: spawn EMFILE
>     at errnoException (child_process.js:922:11)
>     at ChildProcess.spawn (child_process.js:869:11)
>     at exports.spawn (child_process.js:657:9)
>     at Object.exports.spawnPwd (node/test/common.js:83:12)
>     at Object.<anonymous>
> (node/test/simple/test-child-process-customfd-bounded.js:29:8)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Module.runMain (module.js:497:10)
> Command: out/Release/node
> node/test/simple/test-child-process-customfd-bounded.js
> === release test-memory-usage-emfile ===
> Path: simple/test-memory-usage-emfile
> fs.js:392
>   return binding.open(pathModule._makeLong(path), stringToFlags(flags),
> mode);
>                  ^
> Error: EMFILE, too many open files
> 'node/test/simple/test-memory-usage-emfile.js'
>     at Object.fs.openSync (fs.js:392:18)
>     at Object.<anonymous>
> (node/test/simple/test-memory-usage-emfile.js:33:17)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Module.runMain (module.js:497:10)
>     at process._tickCallback (node.js:428:13)
> Command: out/Release/node node/test/simple/test-memory-usage-emfile.js
> [02:42|% 100|+ 537|-   2]: Done
> make: *** [test] Error 1
>
> % ./node -v
> v0.9.10-pre
>
>
> Thanks
> Brent Baker

Raise the open file limit with `ulimit -n 1024`.  It defaults to 256
on OS X and that's too low.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to