@@ -984,78 +984,49 @@ Authentication Parameters
984984General Parameters
985985~~~~~~~~~~~~~~~~~~
986986
987- .. parameter:: connPoolMaxShardedConnsPerHost
987+ .. parameter:: allowDiskUseByDefault
988988
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|
1021990
1022- Sets the maximum number of in-use connections at any given time for
1023- the legacy sharded cluster connection pools.
991+ *Default*: True
1024992
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
1029994
1030995 .. code-block:: bash
996+
997+ mongod --setParameter allowDiskUseByDefault=false
1031998
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:
10351005
1036- :parameter:`connPoolMaxShardedConnsPerHost`
1006+ .. code-block:: javascript
10371007
1038- .. parameter:: shardedConnPoolIdleTimeoutMinutes
1008+ db.adminCommand(
1009+ {
1010+ setParameter: 1,
1011+ allowDiskUseByDefault: false
1012+ }
1013+ )
10391014
1040- .. versionadded :: 3.6.3
1015+ .. parameter :: httpVerboseLogging
10411016
10421017 |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+
10471021 By default, the parameter is unset.
10481022
1049- You can only set :parameter:`shardedConnPoolIdleTimeoutMinutes ` during
1023+ You can only set ``httpVerboseLogging` ` during
10501024 startup in the config file or on the command line. For example:
10511025
10521026 .. code-block:: bash
10531027
1054- mongos --setParameter shardedConnPoolIdleTimeoutMinutes=10
1028+ mongos --setParameter httpVerboseLogging=true
10551029
1056- .. seealso::
1057-
1058- :parameter:`connPoolMaxShardedConnsPerHost`
10591030
10601031.. parameter:: connPoolMaxConnsPerHost
10611032
@@ -1127,10 +1098,6 @@ General Parameters
11271098
11281099 mongos --setParameter globalConnPoolIdleTimeoutMinutes=10
11291100
1130- .. seealso::
1131-
1132- :parameter:`connPoolMaxShardedConnsPerHost`
1133-
11341101.. parameter:: cursorTimeoutMillis
11351102
11361103 *Default*: 600000 (10 minutes)
0 commit comments