Hi Luca,

Just wanted to say that I'm currently investigating an issue similar to 
this. After updating from node.js 0.8.8 to 0.8.19 (also tried 0.8.20), one 
of my long-running scripts that does 100000s of CouchDB requests started 
leaving connections to CouchDB open. It eventually dies with a 
EADDRNOTAVAIL error. I'm not using cradle, but a homegrown abstraction 
around the request module.

I'll try 0.8.21 today, and if that fails, I'll try bisecting my way through 
the node.js code.

Best regards,
Andreas Lind Petersen (papandreou)

On Monday, February 25, 2013 8:43:44 AM UTC+1, Luca Morandini wrote:
>
> Folks, 
>
> I have set up an application using Cradle 0.6.4 connected to CouchDB 
> 1.2.0, and 
> started stress testing it... and encountered an issue. 
>
> After setting up a simulated load -using nodeload- of 60 users each 
> requesting 100 
> documents of about 60MB (they vary from a few bytes to 60MB, but most of 
> them are 
> 60MB) I found out that some connections to CouchDB were not closed after 
> the load 
> program terminated. 
>
> I have set the maxSockets parameters of both http module and Cradle to 50, 
> hence 
> the app ramps up to 110 open connections, then the number of connections 
> decreases... but some of them remains in an "ESTABLISHED" status. 
>
> Here's the netstat output: 
> tcp   5896064 0 127.0.0.1:37968 127.0.0.1:5984 ESTABLISHED 31914/node 
> tcp   6051609 0 127.0.0.1:37977 127.0.0.1:5984 ESTABLISHED 31914/node 
> tcp   1095733 0 127.0.0.1:37947 127.0.0.1:5984 ESTABLISHED 31914/node 
> tcp   1590408 0 127.0.0.1:37949 127.0.0.1:5984 ESTABLISHED 31914/node 
>
> All connections from my app to CouchDB: any clues ? 
>
> Regards, 
>
> Luca Morandini 
> Data Architect - AURIN project 
> Department of Computing and Information Systems 
> University of Melbourne 
> Tel. +61 03 903 58 380 
> Skype: lmorandini 
>
>

-- 
-- 
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

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to