[SERVER-32916] mongos creates lots of connections to nongod nodes Created: 26/Jan/18 Updated: 22/Feb/18 Resolved: 29/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | shawn | Assignee: | Mark Agarunov |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
HI we ran mongodb sharded cluster for several weeks, it works well. we found some typical statement from logs, as following: logs from mongos log: 2018-01-25T22:10:00.006+0800 I ASIO [NetworkInterfaceASIO-TaskExecutorPool-8-0] Connecting to 10.136.142.35:28000 logs from mongod: notes: 1. we sets the maxincomming conections of mongod is 10240. we could offer the detail logs and ftdc logs so as to find the root cause. Thanks. |
| Comments |
| Comment by Mark Agarunov [ 29/Jan/18 ] |
|
Hello shawn001, Thank you for providing this information. Looking over the logs and diagnostic data, this appears to be caused by the rapid increase in connections. My recommendation would be adjusting the connection pool settings as described in Thanks, |
| Comment by shawn [ 29/Jan/18 ] |
|
Hello Mark I have uploaded theses files you need. Hoping for the root cause. Thanks. |
| Comment by Mark Agarunov [ 26/Jan/18 ] |
|
Hello shawn001, Thank you for the report. To get a better idea of why you may be seeing issue, could you please provide the complete logs from all affected mongod and mongos nodes, as well as an archive (tar or zip) of the $dbpath/diagnostic.data directory? Thanks, |