Disconnect() not found

Hey notm84,

How many nodes are in your Couchbase Cluster?

Cheers, Brett

Just one until we get things stable. It’s a Dual Xeon 2620 V3 with 72GB of RAM. It never goes past 8% CPU usage.

Update: loading issues seem to have gone away, at least under our current high load. Although the high connection numbers still persist, the load time is much quicker.

What did we change? For some reason we had stale set to false. We removed stale from the query and as a result no longer have page delays under our current high load. However we did notice a slight slow down (maybe 2 seconds instead of 500ms) last night but ultimately didn’t cause any issues.

As for the sample code above not including the stale setting, we’re assuming the stale setting on other queries were causing the sample code to not execute by occupying/locking the server.

Hey Brett19 ,

I am also missing Disconnect() method in PHP .Did you find any alternate or work around for it ?

Regards
Pratyush

Seems like the documentation is still out of date. Either it should be corrected, or a disconnect method should be implemented (ideally the latter).

PHP SDK automatically closes idle connections after 60 seconds. Why do you need to disconnect the client?