Is there any way we can find the number of connections to SDK ?
From the official document i can see " Currently there is a hard limit of 10,000 concurrent key-value connections to any cluster node. This effectively means a limit of 10,000 SDK “Bucket” objects."
The Admin UI will show the number of connections to a bucket (note that’s actually a global count connection to all buckets).
can we get this value from command line ? or through some api call ?
How to get number of connections on sync gateway ?
As an aside, the limit was increased to 30,000 in the 4.x time-frame (I forget the exact person off the top of my head).
See the Rest API documentation: Couchbase Server | Couchbase Docs
You’ll want to look at the curr_connections
stat.
This curr_connections is per bucket stat ? this increased limit of 30k is for cluster or bucket ?
It’s per node, it’s just shown under bucket as most stats are per-bucket.
- Dave
“curr_connections”: [
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
792,
what does this multiple value for connections indicate ?
Can you please let me know which value in UI is global count connection ?