@@ -978,14 +978,12 @@ General Parameters
978
978
979
979
By default, the parameter is unset.
980
980
981
- You can only set ``httpVerboseLogging`` during
982
- startup in the config file or on the command line. For example:
981
+ .. include:: /includes/fact-runtime-startup-parameter
983
982
984
983
.. code-block:: bash
985
984
986
985
mongos --setParameter httpVerboseLogging=true
987
986
988
-
989
987
.. parameter:: connPoolMaxConnsPerHost
990
988
991
989
*Default*: 200
@@ -1007,8 +1005,7 @@ General Parameters
1007
1005
connections and you're using authentication in the
1008
1006
context of a sharded cluster.
1009
1007
1010
- You can only set :parameter:`connPoolMaxConnsPerHost` during startup
1011
- in the config file or on the command line. For example:
1008
+ .. include:: /includes/fact-startup-parameter
1012
1009
1013
1010
.. code-block:: bash
1014
1011
@@ -1026,8 +1023,7 @@ General Parameters
1026
1023
1027
1024
By default, the parameter is unset.
1028
1025
1029
- You can only set :parameter:`connPoolMaxInUseConnsPerHost` during
1030
- startup in the config file or on the command line. For example:
1026
+ .. include:: /includes/fact-startup-parameter
1031
1027
1032
1028
.. code-block:: bash
1033
1029
@@ -1048,9 +1044,7 @@ General Parameters
1048
1044
1049
1045
By default, the parameter is unset.
1050
1046
1051
- You can only set :parameter:`globalConnPoolIdleTimeoutMinutes`
1052
- during startup in the config file or on the command line. For
1053
- example:
1047
+ .. include:: /includes/fact-startup-parameter
1054
1048
1055
1049
.. code-block:: bash
1056
1050
@@ -1066,6 +1060,8 @@ General Parameters
1066
1060
MongoDB removes them; specifically, MongoDB removes cursors that have
1067
1061
been idle for the specified :parameter:`cursorTimeoutMillis`.
1068
1062
1063
+ .. include:: /includes/fact-runtime-startup-parameter
1064
+
1069
1065
For example, the following sets the :parameter:`cursorTimeoutMillis`
1070
1066
to ``300000`` milliseconds (5 minutes).
1071
1067
@@ -1132,6 +1128,8 @@ General Parameters
1132
1128
Too many index builds running simultaneously, waiting until the
1133
1129
number of active index builds is below the threshold.
1134
1130
1131
+ .. include:: /includes/fact-runtime-startup-parameter
1132
+
1135
1133
The following command sets a limit of 4 concurrent index builds:
1136
1134
1137
1135
.. code-block:: javascript
@@ -1173,6 +1171,8 @@ General Parameters
1173
1171
:parameter:`notablescan` because preventing collection scans can potentially
1174
1172
affect queries in all databases, including administrative queries.
1175
1173
1174
+ .. include:: /includes/fact-runtime-startup-parameter
1175
+
1176
1176
.. parameter:: ttlMonitorEnabled
1177
1177
1178
1178
|mongod-only|
@@ -1183,6 +1183,8 @@ General Parameters
1183
1183
instances have a background thread that is responsible for deleting
1184
1184
documents from collections with TTL indexes.
1185
1185
1186
+ .. include:: /includes/fact-runtime-startup-parameter
1187
+
1186
1188
To disable this worker thread for a :binary:`~bin.mongod`, set
1187
1189
:parameter:`ttlMonitorEnabled` to ``false``, as in the following
1188
1190
operations:
@@ -1239,9 +1241,7 @@ General Parameters
1239
1241
This parameter has no effect if the host operating system does not
1240
1242
support *or* is not configured to support TFO connections.
1241
1243
1242
- You can only set this parameter on startup, using either the
1243
- :setting:`setParameter` configuration file setting or the
1244
- :option:`--setParameter <mongod --setParameter>` command line option.
1244
+ .. include:: /includes/fact-startup-parameter
1245
1245
1246
1246
See :ref:`4.4-rel-notes-tcp-fast-open` for more information on
1247
1247
MongoDB TFO support.
@@ -1274,9 +1274,7 @@ General Parameters
1274
1274
This parameter has no effect if the host operating system does not
1275
1275
support *or* is not configured to support TFO connections.
1276
1276
1277
- You can only set this parameter on startup, using either the
1278
- :setting:`setParameter` configuration file setting or the
1279
- :option:`--setParameter <mongod --setParameter>` command line option.
1277
+ .. include:: /includes/fact-startup-parameter
1280
1278
1281
1279
See :ref:`4.4-rel-notes-tcp-fast-open` for more information on
1282
1280
MongoDB TFO support.
@@ -1321,6 +1319,8 @@ General Parameters
1321
1319
:ref:`4.4-rel-notes-tcp-fast-open` for more information on
1322
1320
MongoDB TFO support.
1323
1321
1322
+ .. include:: /includes/fact-startup-parameter
1323
+
1324
1324
.. seealso::
1325
1325
1326
1326
- `RFC7413 TCP Fast Open Section 5: Security Considerations
@@ -1336,6 +1336,8 @@ General Parameters
1336
1336
The MongoDB JavaScript engine uses SpiderMonkey, which implements
1337
1337
Just-in-Time (JIT) compilation for improved performance when running scripts.
1338
1338
1339
+ .. include:: /includes/fact-runtime-startup-parameter
1340
+
1339
1341
To enable the JIT, set :parameter:`disableJavaScriptJIT` to ``false``, as in
1340
1342
the following example:
1341
1343
@@ -1373,6 +1375,8 @@ General Parameters
1373
1375
:dbcommand:`createIndexes` command or its shell helper
1374
1376
:method:`db.collection.createIndexes()`.
1375
1377
1378
+ .. include:: /includes/fact-runtime-startup-parameter
1379
+
1376
1380
The memory consumed by an index build is separate from the
1377
1381
WiredTiger cache memory (see
1378
1382
:setting:`~storage.wiredTiger.engineConfig.cacheSizeGB`).
@@ -1389,9 +1393,7 @@ General Parameters
1389
1393
:method:`db.serverStatus()` method and :dbcommand:`serverStatus`
1390
1394
command return :serverstatus:`opWriteConcernCounters` information. [#perf]_
1391
1395
1392
- You can only set
1393
- :parameter:`reportOpWriteConcernCountersInServerStatus` during
1394
- startup in the config file or on the command line. For example:
1396
+ .. include;: /includes/fact-starutp-parameter
1395
1397
1396
1398
.. code-block:: bash
1397
1399
@@ -1496,6 +1498,8 @@ General Parameters
1496
1498
1497
1499
A value of ``1`` enables ``tcmallocAggressiveMemoryDecommit``;
1498
1500
``0`` disables this parameter.
1501
+
1502
+ .. include:: /includes/fact-runtime-startup-parameter
1499
1503
1500
1504
If you enable this parameter, the system will require new memory allocations
1501
1505
for use. Consider enabling ``tcmallocAggressiveMemoryDecommit``
@@ -1528,6 +1532,8 @@ General Parameters
1528
1532
:parameter:`tcmallocReleaseRate`, unless you see a significant performance
1529
1533
degradation when using ``tcmallocAggressiveMemoryDecommit``.
1530
1534
1535
+ .. include:: /includes/fact-runtime-startup-parameter
1536
+
1531
1537
To modify the release rate during run time, you can use the
1532
1538
:dbcommand:`setParameter` command; for example:
1533
1539
@@ -1542,7 +1548,6 @@ General Parameters
1542
1548
1543
1549
mongod --setParameter "tcmallocReleaseRate=5.0"
1544
1550
1545
-
1546
1551
Logging Parameters
1547
1552
~~~~~~~~~~~~~~~~~~
1548
1553
0 commit comments