[SERVER-27188] how to control the connections from mongos to shards Created: 28/Nov/16 Updated: 12/Dec/16 Resolved: 12/Dec/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 3.2.8 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Critical - P2 |
| Reporter: | kimmy-github | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
1、there are 10 same programs in different PC server,and the config parameters of one program is below: 2、when there are 10000 clients visit the 10 same programs at the same time,in order to get data; the 3 mongos get below 2000 connections in total;but 3 、I thried to modify parameter "connPoolMaxShardedConnsPerHost=10" in one mongos or one secondary of shard,but it doesn't work;so I want to know how to control the connections from mongos to shards 4、The file "questions_TaskExecutorPool.log" is the log of the mongos,The file "shard.log" is the log of shard,The file "metrics.*" are diagnostic data |
| Comments |
| Comment by Kelsey Schubert [ 12/Dec/16 ] |
|
Hi kimmy-github, Thank you for clarifying. From your response, I do not see anything to indicate a bug in the MongoDB server. For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group. Kind regards, |
| Comment by kimmy-github [ 29/Nov/16 ] |
|
Hi,Thomas Schubert: Thank you very much |
| Comment by Kelsey Schubert [ 28/Nov/16 ] |
|
Hi kimmy-github, Thanks for opening this ticket. So we can get a better understanding of what is going on here, would you please elaborate on this point?
What behavior do you expect, and what behavior would you prefer? What is the root issue that you are seeing, is there a performance impact that you can quantify? Are you reading from secondaries? Thank you, |