Hi Jason,

Off the top of my head, it sounds like perhaps you're creating many instances 
of the node.js client. I can't really say without looking at your code.

One thing you may do is run the sample app to see if it runs into the same 
issues.

Another thing to check is if there's a more fundamental problem between the 
client and server.  One thing which has come up occasionally is people using 
Amazon micro instances.  What kind of setup do you have?

If you install libcouchbase's cbc utility, you can run "cbc pillowfight" to 
validate different workloads from the libcouchbase level to the cluster.

Hope that helps,

Matt


On Aug 13, 2014, at 1:23 PM, Jason Broughton 
<[email protected]<mailto:[email protected]>> wrote:

Hello Everyone


Currently we are having a small issue with timeouts.

In node.js we create the connection to couchbase when the node.js app starts 
up. We pass that object through the app so that subsequent calls to the 
database use that connection.

We have 2 servers clustered together and in the node.js app we are connecting 
to both. We have 2 instances of the node.js app running on the server.

we are periodically seeing a timeout error with our requests:

/node_modules/couchbase/lib/connection.js:193

        throw err;

              ^

Error: Client-Side timeout exceeded for operation. Inspect network conditions 
or increase the timeout

We increased the timeout to 60 seconds and we are still seeing this.

When looking at the server management console we are seeing there are over 500 
connections to the server. But in our case we should only be seeing 2.

Do any of you have any idea what would cause this and know where we should be 
looking to resolve it?

Thanks Jason B

--
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
Matt Ingenthron
Couchbase, Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" 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/d/optout.

Reply via email to