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