I use https://github.com/request/request ("request": "^2.46.0") for 
outgoing HTTP requests and I specified a timeout as an option (in 
20seconds):

var options = {
    uri : xxx
    followRedirect : true,
    maxRedirects : 10,
    method : xxx,
    encoding : 'utf8',
    body : xxx,
    timeout : *20000*
};


However, the TCP connection times out in 7 second. This happens only when the 
server is under load.


I am attaching an image of the TCP dump; my IP is 10.26.97.20. 


I need help to figure out what's going on.


Thank you,

Jianping Roth



-- 
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/07f8ebee-b172-4bc1-ae8e-eb06d239dced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to