hi,after my application running two hour,i get a "Timeout waiting for a MongoConnection" error,but the mongodb available connection is too much,and i still can connection a mongodb database in client by command line.
.....
> db.serverStatus()
{
"host" : "AppServer:27018",
"version" : "2.4.3",
"process" : "C:\\mongodb\\mongod.exe",
"pid" : 1444,
"uptime" : 23236,
"uptimeMillis" : NumberLong(23237145),
"uptimeEstimate" : 14551,
"localTime" : ISODate("2013-07-17T12:44:37.125Z"),
"asserts" : {
"regular" : 0,
"warning" : 0,
"msg" : 0,
"user" : 0,
"rollovers" : 0
},
"backgroundFlushing" : {
"flushes" : 387,
"total_ms" : 1166260,
"average_ms" : 3013.59173126615,
"last_ms" : 515,
"last_finished" : ISODate("2013-07-17T12:44:27.905Z")
},
"connections" : {
"current" : 782,
"available" : 19218,
"totalCreated" : NumberLong(5715)
},
"cursors" : {
"totalOpen" : 7,
"clientCursors_size" : 7,
"timedOut" : 0,
"totalNoTimeout" : 7
},
"extra_info" : {
"note" : "fields vary by platform",
"page_faults" : 413544,
"usagePageFileMB" : 122,
"totalPageFileMB" : 12529,
"availPageFileMB" : 10273,
"ramMB" : 6142
},
"globalLock" : {
"totalTime" : NumberLong("23237020000"),
"lockTime" : NumberLong(4610363),
"currentQueue" : {
"total" : 772,
"readers" : 772,
"writers" : 0
},
"activeClients" : {
"total" : 0,
"readers" : 0,
"writers" : 0
}
},
"indexCounters" : {
"note" : "not supported on this platform"
},
"locks" : {
"." : {
"timeLockedMicros" : {
"R" : NumberLong(80),
"W" : NumberLong(4610363)
},
"timeAcquiringMicros" : {
"R" : NumberLong(23),
"W" : NumberLong(71277)
}
},
"admin" : {
"timeLockedMicros" : {
"r" : NumberLong(156),
"w" : NumberLong(0)
},
"timeAcquiringMicros" : {
"r" : NumberLong(2),
"w" : NumberLong(0)
}
},
"local" : {
"timeLockedMicros" : {
"r" : NumberLong(1535322),
"w" : NumberLong(0)
},
"timeAcquiringMicros" : {
"r" : NumberLong(4553),
"w" : NumberLong(0)
}
},
"products" : {
"timeLockedMicros" : {
"r" : NumberLong(36699190),
"w" : NumberLong(68678766)
},
"timeAcquiringMicros" : {
"r" : NumberLong(131842352),
"w" : NumberLong(21772435)
}
},
"slurp" : {
"timeLockedMicros" : {
"r" : NumberLong(28274037),
"w" : NumberLong(1111165231)
},
"timeAcquiringMicros" : {
"r" : NumberLong(490554951),
"w" : NumberLong("6358206676380")
}
},
"lemur_yamool" : {
"timeLockedMicros" : {
"r" : NumberLong(75009),
"w" : NumberLong(3429255)
},
"timeAcquiringMicros" : {
"r" : NumberLong(4413),
"w" : NumberLong(228367)
}
},
"fs_photos" : {
"timeLockedMicros" : {
"r" : NumberLong(3959657),
"w" : NumberLong(91143272)
},
"timeAcquiringMicros" : {
"r" : NumberLong(24631456),
"w" : NumberLong(10591335)
}
},
"lemur" : {
"timeLockedMicros" : {
"r" : NumberLong(3173844),
"w" : NumberLong(30943380)
},
"timeAcquiringMicros" : {
"r" : NumberLong(139923),
"w" : NumberLong(3030659)
}
}
},
"network" : {
"bytesIn" : 1826516696,
"bytesOut" : 809879767,
"numRequests" : 7637852
},
"opcounters" : {
"insert" : 1558740,
"query" : 61341,
"update" : 1509018,
"delete" : 0,
"getmore" : 26,
"command" : 5567844
},
"opcountersRepl" : {
"insert" : 0,
"query" : 0,
"update" : 0,
"delete" : 0,
"getmore" : 0,
"command" : 0
},
"recordStats" : {
"accessesNotInMemory" : 313654,
"pageFaultExceptionsThrown" : 28533,
"admin" : {
"accessesNotInMemory" : 0,
"pageFaultExceptionsThrown" : 0
},
"fs_photos" : {
"accessesNotInMemory" : 13681,
"pageFaultExceptionsThrown" : 5174
},
"lemur" : {
"accessesNotInMemory" : 8025,
"pageFaultExceptionsThrown" : 62
},
"lemur_yamool" : {
"accessesNotInMemory" : 4105,
"pageFaultExceptionsThrown" : 3709
},
"local" : {
"accessesNotInMemory" : 2,
"pageFaultExceptionsThrown" : 0
},
"products" : {
"accessesNotInMemory" : 29399,
"pageFaultExceptionsThrown" : 7482
},
"slurp" : {
"accessesNotInMemory" : 258431,
"pageFaultExceptionsThrown" : 12106
}
},
"writeBacksQueued" : false,
"mem" : {
"bits" : 64,
"resident" : 1426,
"virtual" : 12734,
"supported" : true,
"mapped" : 11805
},
"metrics" : {
"document" : {
"deleted" : NumberLong(0),
"inserted" : NumberLong(1558740),
"returned" : NumberLong(265610),
"updated" : NumberLong(5694828)
},
"getLastError" : {
"wtime" : {
"num" : 0,
"totalMillis" : 0
},
"wtimeouts" : NumberLong(0)
},
"operation" : {
"fastmod" : NumberLong(4531808),
"idhack" : NumberLong(5726423),
"scanAndOrder" : NumberLong(0)
},
"queryExecutor" : {
"scanned" : NumberLong(520468)
},
"record" : {
"moves" : NumberLong(8190)
},
"repl" : {
"apply" : {
"batches" : {
"num" : 0,
"totalMillis" : 0
},
"ops" : NumberLong(0)
},
"buffer" : {
"count" : NumberLong(0),
"maxSizeBytes" : 268435456,
"sizeBytes" : NumberLong(0)
},
"network" : {
"bytes" : NumberLong(0),
"getmores" : {
"num" : 0,
"totalMillis" : 0
},
"ops" : NumberLong(0),
"readersCreated" : NumberLong(0)
},
"oplog" : {
"insert" : {
"num" : 0,
"totalMillis" : 0
},
"insertBytes" : NumberLong(0)
},
"preload" : {
"docs" : {
"num" : 0,
"totalMillis" : 0
},
"indexes" : {
"num" : 0,
"totalMillis" : 0
}
}
},
"ttl" : {
"deletedDocuments" : NumberLong(0),
"passes" : NumberLong(386)
}
},
"ok" : 1
}
the mongodb database and application in same machine(windows 2008,64-bit,6G memory) .