an agent holds sockets for a bunch of domains, it's not an array, it's an object, so that length check will never pass.
On Dec 30, 2012, at December 30, 20125:32 PM, Aaron Seet <[email protected]> wrote: > Hmmm i tried to log http.globalAgent.sockets.length and > http.globalAgent.requests.length and they came out as undefined. > > > thanks, > Aaron > > On Fri, Dec 28, 2012 at 4:14 PM, Michael Wittig <[email protected]> > wrote: > I can check memory comsumption after the holidays. in the meantime you could > try to print the numbere of open sockets using > http.globalAgent.sockets.length and http.globalAgent.requests.length to see > if there is a growing number of requests. > > > -- > 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
