[SERVER-3116] What is the default server connection pool size Created: 18/May/11  Updated: 18/May/11  Resolved: 18/May/11

Status: Closed
Project: Core Server
Component/s: Performance
Affects Version/s: 1.6.3
Fix Version/s: None

Type: Question Priority: Minor - P4
Reporter: Joseph Wang Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

linux


Participants:

 Description   

We are running 1.6.3 server version with 1 master and 2 slaves.

We've 4 web servers using Java MongoDB driver 2.5.3. Each web server has 1 read connection pool of size 400 to all mongo servers
and 1 write connection pool of size 400 to master.

We want to increase read connection pool size on the web server. However, we want to know what is the default connection
on sever. There is no information on the mongodb.org.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 18/May/11 ]

Its is 80% of ulimit

Comment by Joseph Wang [ 18/May/11 ]

it seems 5297 is the max.

Please close this issue.

Comment by Joseph Wang [ 18/May/11 ]

> db.serverStatus()
{
"version" : "1.6.3",
"uptime" : 14075376,
"uptimeEstimate" : 13994568,
"localTime" : "Wed May 18 2011 10:47:34 GMT-0700 (PDT)",
"globalLock" : {
"totalTime" : 14075376515576,
"lockTime" : 75574434347,
"ratio" : 0.005369265558428815,
"currentQueue" :

{ "total" : 0, "readers" : 0, "writers" : 0 }

},
"mem" :

{ "bits" : 64, "resident" : 20387, "virtual" : 38358, "supported" : true, "mapped" : 25208 }

,
"connections" :

{ "current" : 1256, "available" : 5297 }

,
"extra_info" :

{ "note" : "fields vary by platform", "heap_usage_bytes" : 14567168, "page_faults" : 57647 }

,
"indexCounters" : {
"btree" :

{ "accesses" : 62613968, "hits" : 62613968, "misses" : 0, "resets" : 0, "missRatio" : 0 }

},
"backgroundFlushing" :

{ "flushes" : 234585, "total_ms" : 5968405, "average_ms" : 25.442398277809747, "last_ms" : 38, "last_finished" : "Wed May 18 2011 10:47:09 GMT-0700 (PDT)" }

,
"cursros" :

{ "totalOpen" : 2, "clientCursors_size" : 2, "timedOut" : 70 }

,
"repl" :

{ "ismaster" : true }

,
"opcounters" :

{ "insert" : 1029458550, "query" : 18565688, "update" : 52870276, "delete" : 12246, "getmore" : 60386030, "command" : 191303263 }

,
"asserts" :

{ "regular" : 0, "warning" : 0, "msg" : 0, "user" : 102, "rollovers" : 0 }

,
"ok" : 1
}

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