@@ -984,78 +984,49 @@ Authentication Parameters
984
984
General Parameters
985
985
~~~~~~~~~~~~~~~~~~
986
986
987
- .. parameter:: connPoolMaxShardedConnsPerHost
987
+ .. parameter:: allowDiskUseByDefault
988
988
989
- *Default*: 200
990
-
991
- |both|
992
-
993
- Sets the maximum size of the legacy connection pools for communication to the
994
- shards. The size of a pool does not prevent the creation of
995
- additional connections, but *does* prevent the connection pools from
996
- retaining connections above this limit.
997
-
998
- .. note::
999
-
1000
- The parameter is separate from the connections in TaskExecutor
1001
- pools. See :parameter:`ShardingTaskExecutorPoolMaxSize`.
1002
-
1003
- Increase the :parameter:`connPoolMaxShardedConnsPerHost` value
1004
- **only** if the number of connections in a connection pool has a
1005
- high level of churn or if the total number of created connections
1006
- increase.
1007
-
1008
- You can only set :parameter:`connPoolMaxShardedConnsPerHost` during
1009
- startup in the config file or on the command line. For example:
1010
-
1011
- .. code-block:: bash
1012
-
1013
- mongos --setParameter connPoolMaxShardedConnsPerHost=250
1014
-
1015
-
1016
- .. parameter:: connPoolMaxShardedInUseConnsPerHost
1017
-
1018
- .. versionadded:: 3.6.3
1019
-
1020
- |both|
989
+ |mongod-only|
1021
990
1022
- Sets the maximum number of in-use connections at any given time for
1023
- the legacy sharded cluster connection pools.
991
+ *Default*: True
1024
992
1025
- By default, the parameter is unset.
1026
-
1027
- You can only set :parameter:`connPoolMaxShardedConnsPerHost` during
1028
- startup in the config file or on the command line. For example:
993
+ .. include:: /includes/fact-allowDiskUseByDefault.rst
1029
994
1030
995
.. code-block:: bash
996
+
997
+ mongod --setParameter allowDiskUseByDefault=false
1031
998
1032
- mongos --setParameter connPoolMaxShardedInUseConnsPerHost=100
1033
-
1034
- .. seealso::
999
+ :parameter:`allowDiskUseByDefault` only works on :binary:`mongod`
1000
+ not :binary:`mongos`. :binary:`mongos` never writes temporary
1001
+ files to disk. Use the :dbcommand:`setParameter` command in
1002
+ a :binary:`mongosh` session that is connected to a running
1003
+ :binary:`mongod` to change the value of the parameter while the
1004
+ server is running:
1035
1005
1036
- :parameter:`connPoolMaxShardedConnsPerHost`
1006
+ .. code-block:: javascript
1037
1007
1038
- .. parameter:: shardedConnPoolIdleTimeoutMinutes
1008
+ db.adminCommand(
1009
+ {
1010
+ setParameter: 1,
1011
+ allowDiskUseByDefault: false
1012
+ }
1013
+ )
1039
1014
1040
- .. versionadded :: 3.6.3
1015
+ .. parameter :: httpVerboseLogging
1041
1016
1042
1017
|both|
1043
-
1044
- Sets the time limit that a connection in the legacy sharded cluster
1045
- connection pool can remain idle before being closed.
1046
-
1018
+
1019
+ Adds more verbose tracing for curl on Linux and macOS. Has no affect on Windows.
1020
+
1047
1021
By default, the parameter is unset.
1048
1022
1049
- You can only set :parameter:`shardedConnPoolIdleTimeoutMinutes ` during
1023
+ You can only set ``httpVerboseLogging` ` during
1050
1024
startup in the config file or on the command line. For example:
1051
1025
1052
1026
.. code-block:: bash
1053
1027
1054
- mongos --setParameter shardedConnPoolIdleTimeoutMinutes=10
1028
+ mongos --setParameter httpVerboseLogging=true
1055
1029
1056
- .. seealso::
1057
-
1058
- :parameter:`connPoolMaxShardedConnsPerHost`
1059
1030
1060
1031
.. parameter:: connPoolMaxConnsPerHost
1061
1032
@@ -1127,10 +1098,6 @@ General Parameters
1127
1098
1128
1099
mongos --setParameter globalConnPoolIdleTimeoutMinutes=10
1129
1100
1130
- .. seealso::
1131
-
1132
- :parameter:`connPoolMaxShardedConnsPerHost`
1133
-
1134
1101
.. parameter:: cursorTimeoutMillis
1135
1102
1136
1103
*Default*: 600000 (10 minutes)
0 commit comments