Hi. I'm doing hundreds of requests per second to a CouchDB server from 8 node processes, all on the same server, and I'm eventually running out of tcp ports. Node's documentation leads me to believe that I shouldn't need to do anything using http.request to get keep-alive requests, as the default globalAgent is used and that adds the "Connection: keep-alive" header, but that is not working. I tried to add the agent options with a new Agent instance, tried to add the "Connection:keep-alive" header explicitly, but it's not working.
What do I need to do to get http client to reuse connections and not create a new one for each request? I'm using node 0.6.17 Thanks, Marco -- 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
