Skip to content

Commit 587bbe4

Browse files
DOCSP-33117 Fix Host.getMaxConnsWithVersionDefault for Server version (#5212) (#5226)
1 parent c5e7569 commit 587bbe4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

source/reference/alerts.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,20 @@ Connection metrics include:
674674

675675
* - Connections % of configured limit is
676676
- Percentage of active host connections to the total number of
677-
possible connections meets your specified threshold.
677+
possible connections meets your specified threshold. The
678+
default value for MongoDB versions 2.6.0 and 3.0.0 is ``65536``
679+
and the default value for MongoDB versions greater than (``>``)
680+
3.0.0, is ``1000000``. You can override the default value two
681+
ways:
682+
683+
- Use the :binary:`mongod <bin.mongod>` ``--maxConnns`` to set
684+
the maximum number of simultaneous connections for ``mongod``.
685+
To learn more, see :manual:`mongod Core Options
686+
</reference/program/mongod/#std-option-mongod.--maxConns>`.
687+
688+
- Update the ``net.maxIncomingConnections`` field in the
689+
MongoDB configuration file. To learn more, see :manual:`net
690+
Options </reference/configuration-options/#mongodb-setting-net.maxIncomingConnections>`.
678691

679692
.. include:: /includes/fact-alerts-charting-metrics.rst
680693

0 commit comments

Comments
 (0)