@@ -1090,6 +1090,8 @@ General Parameters
1090
1090
1091
1091
.. include:: /includes/fact-allowDiskUseByDefault.rst
1092
1092
1093
+ .. include:: /includes/fact-runtime-startup-parameter
1094
+
1093
1095
.. code-block:: bash
1094
1096
1095
1097
mongod --setParameter allowDiskUseByDefault=false
@@ -1118,14 +1120,12 @@ General Parameters
1118
1120
1119
1121
By default, the parameter is unset.
1120
1122
1121
- You can only set ``httpVerboseLogging`` during
1122
- startup in the config file or on the command line. For example:
1123
+ .. include:: /includes/fact-runtime-startup-parameter
1123
1124
1124
1125
.. code-block:: bash
1125
1126
1126
1127
mongos --setParameter httpVerboseLogging=true
1127
1128
1128
-
1129
1129
.. parameter:: connPoolMaxConnsPerHost
1130
1130
1131
1131
*Default*: 200
@@ -1147,8 +1147,7 @@ General Parameters
1147
1147
connections and you're using authentication in the
1148
1148
context of a sharded cluster.
1149
1149
1150
- You can only set :parameter:`connPoolMaxConnsPerHost` during startup
1151
- in the config file or on the command line. For example:
1150
+ .. include:: /includes/fact-startup-parameter
1152
1151
1153
1152
.. code-block:: bash
1154
1153
@@ -1164,8 +1163,7 @@ General Parameters
1164
1163
1165
1164
By default, the parameter is unset.
1166
1165
1167
- You can only set :parameter:`connPoolMaxInUseConnsPerHost` during
1168
- startup in the config file or on the command line. For example:
1166
+ .. include:: /includes/fact-startup-parameter
1169
1167
1170
1168
.. code-block:: bash
1171
1169
@@ -1184,9 +1182,7 @@ General Parameters
1184
1182
1185
1183
By default, the parameter is unset.
1186
1184
1187
- You can only set :parameter:`globalConnPoolIdleTimeoutMinutes`
1188
- during startup in the config file or on the command line. For
1189
- example:
1185
+ .. include:: /includes/fact-startup-parameter
1190
1186
1191
1187
.. code-block:: bash
1192
1188
@@ -1202,6 +1198,8 @@ General Parameters
1202
1198
MongoDB removes them; specifically, MongoDB removes cursors that have
1203
1199
been idle for the specified :parameter:`cursorTimeoutMillis`.
1204
1200
1201
+ .. include:: /includes/fact-runtime-startup-parameter
1202
+
1205
1203
For example, the following sets the :parameter:`cursorTimeoutMillis`
1206
1204
to ``300000`` milliseconds (5 minutes).
1207
1205
@@ -1268,6 +1266,8 @@ General Parameters
1268
1266
Too many index builds running simultaneously, waiting until the
1269
1267
number of active index builds is below the threshold.
1270
1268
1269
+ .. include:: /includes/fact-runtime-startup-parameter
1270
+
1271
1271
The following command sets a limit of 4 concurrent index builds:
1272
1272
1273
1273
.. code-block:: javascript
@@ -1309,6 +1309,8 @@ General Parameters
1309
1309
:parameter:`notablescan` because preventing collection scans can potentially
1310
1310
affect queries in all databases, including administrative queries.
1311
1311
1312
+ .. include:: /includes/fact-runtime-startup-parameter
1313
+
1312
1314
.. parameter:: ttlMonitorEnabled
1313
1315
1314
1316
|mongod-only|
@@ -1319,6 +1321,8 @@ General Parameters
1319
1321
instances have a background thread that is responsible for deleting
1320
1322
documents from collections with TTL indexes.
1321
1323
1324
+ .. include:: /includes/fact-runtime-startup-parameter
1325
+
1322
1326
To disable this worker thread for a :binary:`~bin.mongod`, set
1323
1327
:parameter:`ttlMonitorEnabled` to ``false``, as in the following
1324
1328
operations:
@@ -1375,9 +1379,7 @@ General Parameters
1375
1379
This parameter has no effect if the host operating system does not
1376
1380
support *or* is not configured to support TFO connections.
1377
1381
1378
- You can only set this parameter on startup, using either the
1379
- :setting:`setParameter` configuration file setting or the
1380
- :option:`--setParameter <mongod --setParameter>` command line option.
1382
+ .. include:: /includes/fact-startup-parameter
1381
1383
1382
1384
See :ref:`4.4-rel-notes-tcp-fast-open` for more information on
1383
1385
MongoDB TFO support.
@@ -1410,9 +1412,7 @@ General Parameters
1410
1412
This parameter has no effect if the host operating system does not
1411
1413
support *or* is not configured to support TFO connections.
1412
1414
1413
- You can only set this parameter on startup, using either the
1414
- :setting:`setParameter` configuration file setting or the
1415
- :option:`--setParameter <mongod --setParameter>` command line option.
1415
+ .. include:: /includes/fact-startup-parameter
1416
1416
1417
1417
See :ref:`4.4-rel-notes-tcp-fast-open` for more information on
1418
1418
MongoDB TFO support.
@@ -1457,6 +1457,8 @@ General Parameters
1457
1457
:ref:`4.4-rel-notes-tcp-fast-open` for more information on
1458
1458
MongoDB TFO support.
1459
1459
1460
+ .. include:: /includes/fact-startup-parameter
1461
+
1460
1462
.. seealso::
1461
1463
1462
1464
- `RFC7413 TCP Fast Open Section 5: Security Considerations
@@ -1472,6 +1474,8 @@ General Parameters
1472
1474
The MongoDB JavaScript engine uses SpiderMonkey, which implements
1473
1475
Just-in-Time (JIT) compilation for improved performance when running scripts.
1474
1476
1477
+ .. include:: /includes/fact-runtime-startup-parameter
1478
+
1475
1479
To enable the JIT, set :parameter:`disableJavaScriptJIT` to ``false``, as in
1476
1480
the following example:
1477
1481
@@ -1504,6 +1508,8 @@ General Parameters
1504
1508
:parameter:`indexMaxNumGeneratedKeysPerDocument` parameter specifies,
1505
1509
the operation will fail.
1506
1510
1511
+ .. include:: /includes/fact-startup-parameter
1512
+
1507
1513
.. parameter:: maxIndexBuildMemoryUsageMegabytes
1508
1514
1509
1515
*Default*:
@@ -1519,6 +1525,8 @@ General Parameters
1519
1525
:dbcommand:`createIndexes` command or its shell helper
1520
1526
:method:`db.collection.createIndexes()`.
1521
1527
1528
+ .. include:: /includes/fact-runtime-startup-parameter
1529
+
1522
1530
The memory consumed by an index build is separate from the
1523
1531
WiredTiger cache memory (see
1524
1532
:setting:`~storage.wiredTiger.engineConfig.cacheSizeGB`).
@@ -1535,9 +1543,7 @@ General Parameters
1535
1543
:method:`db.serverStatus()` method and :dbcommand:`serverStatus`
1536
1544
command return :serverstatus:`opWriteConcernCounters` information. [#perf]_
1537
1545
1538
- You can only set
1539
- :parameter:`reportOpWriteConcernCountersInServerStatus` during
1540
- startup in the config file or on the command line. For example:
1546
+ .. include;: /includes/fact-starutp-parameter
1541
1547
1542
1548
.. code-block:: bash
1543
1549
@@ -1642,6 +1648,8 @@ General Parameters
1642
1648
1643
1649
A value of ``1`` enables ``tcmallocAggressiveMemoryDecommit``;
1644
1650
``0`` disables this parameter.
1651
+
1652
+ .. include:: /includes/fact-runtime-startup-parameter
1645
1653
1646
1654
If you enable this parameter, the system will require new memory allocations
1647
1655
for use. Consider enabling ``tcmallocAggressiveMemoryDecommit``
@@ -1674,6 +1682,8 @@ General Parameters
1674
1682
:parameter:`tcmallocReleaseRate`, unless you see a significant performance
1675
1683
degradation when using ``tcmallocAggressiveMemoryDecommit``.
1676
1684
1685
+ .. include:: /includes/fact-runtime-startup-parameter
1686
+
1677
1687
To modify the release rate during run time, you can use the
1678
1688
:dbcommand:`setParameter` command; for example:
1679
1689
@@ -1704,6 +1714,8 @@ General Parameters
1704
1714
``fassertOnLockTimeoutForStepUpDown`` defaults to 15 seconds. To disable
1705
1715
nodes from fasserting, set ``fassertOnLockTimeoutForStepUpDown=0``.
1706
1716
1717
+ .. include:: /includes/fact-runtime-startup-parameter
1718
+
1707
1719
The following example disables nodes from fasserting:
1708
1720
1709
1721
.. code-block:: bash
@@ -2593,19 +2605,19 @@ If you attempt to update ``disableSplitHorizonIPCheck`` at runtime,
2593
2605
2594
2606
*Default*: ``logical``
2595
2607
2596
- Available only in MongoDB Enterprise.
2608
+ Available only in MongoDB Enterprise.
2597
2609
2598
- Method used for :ref:`initial sync <replica-set-initial-sync>`.
2610
+ Method used for :ref:`initial sync <replica-set-initial-sync>`.
2599
2611
2600
2612
Set to ``logical`` to use :ref:`logical initial sync
2601
2613
<replica-set-initial-sync-logical>`. Set to ``fileCopyBased`` to
2602
2614
use :ref:`file copy based initial sync
2603
- <replica-set-initial-sync-file-copy-based>`.
2615
+ <replica-set-initial-sync-file-copy-based>`.
2604
2616
2605
2617
This parameter only affects the sync method for the member on which
2606
2618
it is specified. Setting this parameter on a single replica set
2607
2619
member does not affect the sync method of any other replica set
2608
- members.
2620
+ members.
2609
2621
2610
2622
You can only set this parameter on startup, using either the
2611
2623
:setting:`setParameter` configuration file setting or the
0 commit comments