Issue Description
An error message is reported when using Java-Driver to access an instance (or a similar error is reported for drivers in other languages), which reads:
com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message
Cause Analysis
Possible reasons:
• The DDS side is under high load, resulting in processing timeout.
• The client connection pool is not properly configured, causing the connection to exceed the maximum connection range configured on the server.
Solution
On the console, check the server load for time-consuming slow query logs, and perform corresponding query statement or index optimization.
Check whether the connection pool configuration of the client is reasonable and optimize it accordingly.