The message you replied to was two years old...

Have you tried with node 0.10 yet?


On Mar 18, 2013, at 04:22, Oleg Slobodskoi wrote:

> I have this error reproducible very stable using node v0.8.21
> 
> And I think I have nailed the issue: it happens if the maxSockets of the 
> agent is lower than the amount of requests we are doing.
> 
> If I set https.globalAgent.maxSockets = 50; and do 50 parallel requests - 
> after some seconds the error will be there.
> 
> If I do 40 parallel requests - I am able to download thousands of files from 
> S3.
> 
> 
> Possible solutions:
> 
> 1. I think first of all it is a documentation issue on node as well as knox. 
> Both of them should mention, that the default Agent has maxSockets == 5. Node 
> should mention this not only in place where maxSocket option is described but 
> also in 3-4 other places where the users read how to create requests.
> 
> 2. Knox could set for its engine the maxSockets value to something much more 
> higher than 5, f.e. 500, because knox will be often used with multiple 
> connections per host. Also knox could expose and document maxSockets option 
> which is then forwarded to the Agent.
> 
> 
> 
> 
> 
> On Tuesday, March 1, 2011 2:31:07 PM UTC+1, easternbloc wrote:
>> Hi, 
>> 
>> I've been getting this issue every now and then on a long poll 
>> request. 
>> It doesn't happen consistently so I'm finding it very hard to track 
>> down. 
>> Has anyone else had this error? 
>> 
>> node.js:116 
>>         throw e; // process.nextTick error, or 'error' event on first 
>> tick 
>>         ^ 
>> Error: socket hang up 
>>     at Client.<anonymous> (http.js:1440:26) 
>>     at Client.emit (events.js:42:17) 
>>     at Array.<anonymous> (net.js:800:12) 
>>     at EventEmitter._tickCallback (node.js:108:26) 
>> 
>> Any help would be greatly appreciated.
> 

-- 
-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
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 nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to