Skip to content

specify that serverStatus.connections measures only client connections #1874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions source/reference/command/serverStatus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ section <server-status-example-connections>` of the
.. data:: serverStatus.connections

The :data:`~serverStatus.connections` sub document data regarding the
current connection status and availability of the database
current status of incoming connections and availability of the database
server. Use these values to assess the current load and capacity
requirements of the server.

Expand All @@ -505,14 +505,14 @@ section <server-status-example-connections>` of the
:data:`~serverStatus.connections.available` to add more context to this
datum.

This figure will include the current shell connection as well as
any inter-node connections to support a :term:`replica set` or
:term:`sharded cluster`.
This figure will include all incoming connections including any shell
connections or connections from other servers, such as :term:`replica set`
members or :program:`mongos` instances.

.. data:: serverStatus.connections.available

:data:`~serverStatus.connections.available` provides a count of the number of unused
available connections that the database can provide. Consider this
available incoming connections the database can provide. Consider this
value in combination with the value of
:data:`~serverStatus.connections.current` to understand the connection load on
the database, and the :doc:`/reference/ulimit` document for
Expand All @@ -521,7 +521,7 @@ section <server-status-example-connections>` of the
.. data:: serverStatus.connections.totalCreated

:data:`~serverStatus.connections.totalCreated` provides a count of
**all** connections created to the server. This number includes
**all** incoming connections created to the server. This number includes
connections that have since closed.

.. _server-status-extra-info:
Expand Down
2 changes: 1 addition & 1 deletion source/reference/server-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ current memory use:
.. _server-status-example-connections:

The :ref:`server-status-connections` field reports on MongoDB's
current number of open connections:
current number of open incoming connections:

.. versionchanged:: 2.4
The :data:`~serverStatus.connections.totalCreated` field.
Expand Down