Skip to content

Commit eadf62e

Browse files
jason-price-mongodbandf-mongodb
authored andcommitted
DOCS-14119 Track maxConns
1 parent d37a595 commit eadf62e

File tree

2 files changed

+42
-27
lines changed

2 files changed

+42
-27
lines changed

source/reference/command/serverStatus.txt

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,13 @@ asserts
219219
A document that reports on the number of assertions raised since the
220220
MongoDB process started. While assert errors are typically uncommon,
221221
if there are non-zero values for the :data:`asserts`, you should
222-
check the log file for more information. In many cases, these errors
223-
are trivial, but are worth investigating.
222+
examine the log file for more information. In many cases, these
223+
errors are trivial, but are worth investigating.
224224

225225
.. serverstatus:: asserts.regular
226226

227227
The number of regular assertions raised since the MongoDB process
228-
started. Check the log file for more information about these
228+
started. Examine the log file for more information about these
229229
messages.
230230

231231
.. serverstatus:: asserts.warning
@@ -240,7 +240,7 @@ asserts
240240
.. serverstatus:: asserts.msg
241241

242242
The number of message assertions raised since the MongoDB process
243-
started. Check the log file for more information about these
243+
started. Examine the log file for more information about these
244244
messages.
245245

246246
.. serverstatus:: asserts.user
@@ -249,7 +249,7 @@ asserts
249249
the MongoDB process started. These are errors that user may
250250
generate, such as out of disk space or duplicate key. You can
251251
prevent these assertions by fixing a problem with your application
252-
or deployment. Check the MongoDB log for more information.
252+
or deployment. Examine the MongoDB log for more information.
253253

254254
.. serverstatus:: asserts.rollovers
255255

@@ -271,6 +271,7 @@ connections
271271
"available" : <num>,
272272
"totalCreated" : <num>,
273273
"active" : <num>,
274+
"threaded" : <num>,
274275
"exhaustIsMaster" : <num>,
275276
"awaitingTopologyChanges" : <num>
276277
},
@@ -284,7 +285,7 @@ connections
284285
.. serverstatus:: connections.current
285286

286287
The number of incoming connections from clients to the database
287-
server . This number includes the current shell session. Consider
288+
server. This number includes the current shell session. Consider
288289
the value of :serverstatus:`connections.available` to add more
289290
context to this datum.
290291

@@ -313,6 +314,13 @@ connections
313314

314315
.. versionadded:: 4.0.7
315316

317+
.. serverstatus:: connections.threaded
318+
319+
The number of incoming connections from clients that are assigned
320+
to threads that service client requests.
321+
322+
.. versionadded:: 5.0
323+
316324
.. serverstatus:: connections.exhaustIsMaster
317325

318326
The number of connections whose last request was an
@@ -358,8 +366,7 @@ information.
358366

359367
.. serverstatus:: defaultRWConcern
360368

361-
The last known global default read or write concern
362-
settings.
369+
The last known global default read or write concern settings.
363370

364371
.. versionadded:: 4.4
365372

@@ -429,12 +436,12 @@ information.
429436

430437
.. serverstatus:: defaultRWConcern.updateWallClockTime
431438

432-
The wall clock time when the instance last updated its copy of
433-
any global read or write concern settings. If the
434-
:serverstatus:`defaultRWConcern.defaultReadConcern` and
435-
:serverstatus:`defaultRWConcern.defaultWriteConcern` fields are
436-
absent, this field indicates the time when the
437-
defaults were last unset.
439+
The wall clock time when the instance last updated its copy of any
440+
global read or write concern settings. If the
441+
:serverstatus:`defaultRWConcern.defaultReadConcern` and
442+
:serverstatus:`defaultRWConcern.defaultWriteConcern` fields are
443+
absent, this field indicates the time when the defaults were last
444+
unset.
438445

439446
.. versionadded:: 4.4
440447

@@ -520,7 +527,7 @@ primary:
520527
.. serverstatus:: electionMetrics.catchUpTakeover
521528

522529
Metrics on elections called by the :binary:`~bin.mongod` instance
523-
because it is more-up-to-date than the primary.
530+
because it is more current than the primary.
524531

525532
The :serverstatus:`~electionMetrics.catchUpTakeover` includes both the number of
526533
elections called and the number of elections that succeeded.
@@ -556,7 +563,7 @@ primary:
556563
.. serverstatus:: electionMetrics.numStepDownsCausedByHigherTerm
557564

558565
Number of times the :binary:`~bin.mongod` instance stepped down
559-
because it saw a higher term (i.e. other member/members have
566+
because it saw a higher term (specifically, other member(s)
560567
participated in additional elections).
561568

562569
*Available starting in 4.2.1 (and 4.0.13)*
@@ -581,7 +588,7 @@ primary:
581588

582589
Number of times the :binary:`~bin.mongod` instance as the
583590
newly-elected primary concluded its catchup process because it was
584-
already caught up when elected
591+
already caught up when elected.
585592

586593
*Available starting in 4.2.1 (and 4.0.13)*
587594

@@ -609,9 +616,9 @@ primary:
609616

610617
.. serverstatus:: electionMetrics.numCatchUpsFailedWithNewTerm
611618

612-
Number of times the newly-elected primary's catchup process
613-
concluded because another member(s) had a higher term (i.e. other
614-
member/members have participated in additional elections).
619+
Number of times the newly-elected primary's catchup process concluded
620+
because another member(s) had a higher term (specifically, other
621+
member(s) participated in additional elections).
615622

616623
*Available starting in 4.2.1 (and 4.0.13)*
617624

@@ -647,8 +654,8 @@ extra_info
647654

648655
.. serverstatus:: extra_info
649656

650-
A document that provides additional information regarding the
651-
underlying system.
657+
A document that provides additional information about the underlying
658+
system.
652659

653660
.. serverstatus:: extra_info.note
654661

@@ -2871,7 +2878,7 @@ shardedIndexConsistency
28712878
collection does not have the exact same indexes (including the index
28722879
options) on each shard that contains chunks for the collection.
28732880

2874-
To check if a sharded collection has inconsistent indexes, see
2881+
To investigate if a sharded collection has inconsistent indexes, see
28752882
:ref:`manage-indexes-find-inconsistent-indexes`.
28762883

28772884
The returned metrics are meaningful only when run on the primary of
@@ -4697,8 +4704,8 @@ metrics
46974704

46984705
.. serverstatus:: metrics.storage.freelist.search.bucketExhausted
46994706

4700-
The number of times that :binary:`~bin.mongod` has checked the free list
4701-
without finding a suitably large record allocation.
4707+
The number of times that :binary:`~bin.mongod` has examined the free
4708+
list without finding a suitably large record allocation.
47024709

47034710
.. serverstatus:: metrics.storage.freelist.search.requests
47044711

@@ -4800,8 +4807,9 @@ watchdog
48004807

48014808
.. serverstatus:: watchdog.monitorGeneration
48024809

4803-
The number of times the status of all filesystems used by :binary:`~bin.mongod`
4804-
has been checked. This is incremented once every ``monitoringPeriod``.
4810+
The number of times the status of all filesystems used by
4811+
:binary:`~bin.mongod` has been examined. This is incremented once
4812+
every ``monitoringPeriod``.
48054813

48064814
.. serverstatus:: watchdog.monitorPeriod
48074815

source/release-notes/5.0.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,13 @@ output:
229229
(:serverstatus:`readConcernCounters` replaces
230230
:serverstatus:`opReadConcernCounters`)
231231

232+
Number of Threaded Connections
233+
.. list-table::
234+
235+
* - | :serverstatus:`connections.threaded`, which reports the
236+
number of incoming connections from clients that are
237+
assigned to threads that service client requests
238+
232239
Additional ``dbStats`` Free Space Statistics
233240
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234241

0 commit comments

Comments
 (0)