I can confirm this, there seems to be a hard limit here https://github.com/joyent/node/blob/master/lib/child_process.js#L333
On a linux system (CentOS tested) it seems that the write queue is flushed faster, so it doesn't hit the limit easily, but on Windows it does and .send() returns false. Listening to 'drain' on stdin is useless, as the above limit comes before the stdin throughput limit. I think the hard limit should be removed and the regular stream features should be proxied to the process (return false on .write, continue on 'drain') so we can manage the throughput properly. 2012/6/11 Ben Noordhuis <[email protected]>: > On Mon, Jun 11, 2012 at 3:45 PM, zaphod1984 <[email protected]> wrote: >> I'm on windows 7 x64, with the current node version (0.6.19).... >> >> type: Windows_NT >> platform: win32 >> arch: ia32 >> >> is there any chance that this behaviour differs in a linux environment? > > Yes, probably. Can you file an issue? > > -- > 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
