[DOCS-3046] Document connPoolMaxConnsPerHost and connPoolMaxShardedConnsPerHost Created: 01/Apr/14  Updated: 16/Mar/15  Resolved: 02/Apr/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.3

Type: Bug Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: sprint-slipstream
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 46 weeks ago

 Description   

cc: greg_10gen
Both of these settings use the setParameter framework and are only settable at startup. Available starting in 2.6.0-rc3.

  • connPoolMaxShardedConnsPerHost - defaults to 200
    This is used for client read/write operations and represents the maximum number of connections held in the connection pool on mongos. The only reason to change this setting is if the total number of connections created is growing at the same rate as your client operations, this indicates connection churn and that this number should be raised for more efficient connection utilization.
  • connPoolMaxConnsPerHost - defaults to 200
    This is used for cluster-internal connections between shards and the config servers and authentication. It would be unusual to need to adjust this setting unless your driver is not pooling connections and you're using authentication, which would require reauthenticating every connection.

Note, these settings do not prevent more connections from being created as needed, but the pools will not retain connections over this number.



 Comments   
Comment by Githook User [ 02/Apr/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-3046: new connection pool parameters
Branch: master
https://github.com/mongodb/docs/commit/97bb77a289e99a3b12f969d517f8c0a9bd6a38ce

Generated at Thu Feb 08 07:44:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.