On Sun, Jul 5, 2015 at 6:12 PM, Sam Roberts <[email protected]> wrote:

> On Mon, Jun 29, 2015 at 10:37 AM, Matt <[email protected]> wrote:
> > You've exhausted the threadpool. Try setting the UV_THREADPOOL_SIZE env
> var
> > higher and see if you can spawn more.
>
> Child processes don't go through the thread pool.
>
> The spawn is synchronous, the IPC (if any) on stdio is async, uses
> pipes, and goes through the epoll() event loop.
>

Are you sure? I haven't gone through the Node source, but I would assume
that the wait/waitpid calls can't be done without the thread pool. Of
course I could be entirely wrong about that, and the calls could just wait
on the closing of the fd instead. But it seemed like a logical conclusion.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAPJ5V2akSWjn1fixcYVbLCqrpAjzQ3uU88%3DD_-YF4GZnkvGMZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to