欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

關于Mongodb的“無法從傳輸連接中讀取數據”

系統 2551 0

1.初步判定是c#官方驅動沒能及時釋放連接: http://stackoverflow.com/questions/7446528/mongodb-c-sharp-driver-doesnt-release-connections-then-errors

How many connections does each mongos need?
In a sharded configuration will have 1 incoming connection from the client but may need 1 outgoing connection to each shard (possibly mongos?times the number of nodes if the shard is backed by a replicaset).
This means that the possible number of open connections that a server requires could be ?(1 + (N*M) * C)where N = number of mongos?shards, M = number of replicaset nodes, and C = number of client connections.

Why does ? mongos? never seem to give up connections??
mongos uses a set of connection pools to communicate to each shard (or shard replicaset node). These pools of connections do not currently
constrict when the number of clients decreases. This will lead to a possibly large number of connections being kept if you have even used the mongos
instance before, even if it is currently not being used.?

How can I see the connections used by mongos? ??
Run this command on each instance: mongos
db._adminCommand("connPoolStats" );?

https://jira.mongodb.org/browse/CSHARP-331

2.設置了sockettimeout=300000沒能生效: http://www.mongodb.org/display/DOCS/Connections ,單位應該是ms,不行的話換sockettimeoutms試試~~

應該就是這個原因了,是sockettimeout的單位是tick,不是毫秒。

?

?

?

3.剛開始全部啟動測試時,很有可能崩掉一大片

?

4. ? ?社區給我的答案,沒試過

? http://www.mongodb.org/display/DOCS/Troubleshooting#Troubleshooting-Socketerrorsinshardedclustersandreplicasets

?

5.2012-04-11補充,對mongo重新做了些測試,發現有兩種情況會導致,一個連接超時,默認是30s,另外一個是連接的關閉,不要輕易調用connect.close

關于Mongodb的“無法從傳輸連接中讀取數據”


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 四虎图库 | 一区二区三区视频在线播放 | 蜜臀在线免费观看 | 黑人群姣中国妞在线观看 | 亚洲经典激情春色另类 | 国产高清一区二区 | 欧美一区二区三区四区不卡 | 日韩欧美一区二区三区不卡在线 | 成人永久在线 | 日本高清视频在线播放 | 久久国产精品免费 | 天天摸天天插 | 国产精品久久久久久久久久久久久 | 9久9久女女免费精品视频在线观看 | 日本亚洲一区 | 天天干天天操天天射 | 亚洲天天干 | 亚洲综合色婷婷在线观看 | 久久久久久一区 | 精品视频在线播放 | 毛片毛片毛片毛片毛片毛片毛片 | 欧美洲视频在线观看 | 一本色道精品久久一区二区三区 | 欧美激情久久久 | 久9视频这里只有精品8 | 日本在线视频网 | 电视剧知青1至45集免费观看 | 91精品视频免费在线观看 | 久久久久久久久久综合情日本 | 免费国产黄频在线观看视频 | 成人免费大片a毛片 | 逼逼网 | www.99精品视频在线播放 | 电影长安道无删减免费看 | 国产aⅴ | 亚洲欧美激情视频 | 国产一级免费不卡 | 亚洲色图日韩 | 人人干免费 | 国产精品黄网站免费进入 | 四虎影视免费在线观看 |