There are always limits (sadly). On Fri, Feb 10, 2012 at 11:58 AM, Joshua Kehn <[email protected]> wrote:
> Ulimit already says unlimited. http://cl.ly/2n2O2g470d2g0Q1S3N20 > > Regards, > > –Josh > ____________________________________ > Joshua Kehn | @joshkehn > http://joshuakehn.com > > On Feb 10, 2012, at 11:02 AM, Ben Noordhuis wrote: > > 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 > > > -- > 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 > -- 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
