On Fri, Feb 10, 2012 at 16:58, Joshua Kehn <[email protected]> wrote:
> I'm getting some peculiar errors when using `child_process.exec` or
> `child_process.spawn`. SeeĀ https://gist.github.com/1790433
>
> Essentially creating several spawn/exec calls in a loop will error out with
> a EMFILE error (too many file descriptors open). And simple advice on
> avoiding this without say manually managing how many spawns I have running
> at any given time?

Bump the file descriptor limit: ulimit -n 16384

-- 
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

Reply via email to