Search code examples
couchbasemembasemoxiemanager

Understanding Moxi stats field "total_connections"


What do the following fields means in the Moxi stats counters?

I understand the "curr_connections" which counts both client connections into moxi and also moxi’s connections to downstream Couchbase servers.

What does the counter "total_connections" represent?

STAT memcached:stats:curr_connections 1140
STAT memcached:stats:total_connections 884426


Solution

  • Total connections is the number of connections that have been made to the server since you started the server. Obviously it resets when you restart. In addition, the total connections is normally far less than the total number of the get command stats because typically you connect to memcached and then send multiple get/set requests over the same connection.