-
Type: Bug
-
Resolution: Duplicate
-
Priority: Blocker - P1
-
None
-
Affects Version/s: 2.0.1
-
Component/s: API
-
None
-
Environment:Mongodb 2.6.11 - Cluster with one replicaset - Connection to shared routers
In heavy CPU loading condition our Web Application Get Stucked.
All threads are blocked and after 30 second in the log are added those errors:
[ERROR] - 20151005 13:15:02:97615 - RequestId=1a863907-853e-41f7-8ea7-7d84ee81db83|RequestId=1a863907-853e-41f7-8ea7-7d84ee81db83|Error on EntityController.OnException
System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector
}. Client view of cluster state is { ClusterId : "1", Type : "Sharded", State : "Disconnected", Servers : [{ ServerId: "
{ ClusterId : 1, EndPoint : "Unspecified/mywapp1:27017" }", EndPoint: "Unspecified/mywapp1:27017", State: "Disconnected", Type: "Unknown" }, { ServerId: "
{ ClusterId : 1, EndPoint : "Unspecified/mywapp2:27017" }", EndPoint: "Unspecified/mywapp2:27017", State: "Disconnected", Type: "Unknown" }] }.
As you can see all nodes are disconnected.
This is our connection string:
mongodb://dbuser:XXXXXXXXX@mywapp1,mywapp2/?connect=ShardRouter&maxPoolSize=500&minPoolSize=50
- duplicates
-
CSHARP-1515 Queries using the Legacy API can leak connections resulting in TimeoutExceptions
- Closed