[SERVER-27957] mongos Failed to connect to shards ExceededTimeLimit: Operation timed out, request was RemoteCommand Created: 09/Feb/17  Updated: 27/Feb/17  Resolved: 27/Feb/17

Status: Closed
Project: Core Server
Component/s: Networking, Sharding
Affects Version/s: 3.4.0
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Tom Tang (Inactive) Assignee: Mark Agarunov
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

sometimes mongos failed to connect to shard servers ,like this

[NetworkInterfaceASIO-TaskExecutorPool-0-0] Failed to connect to 172.*.*.*:10000 - ExceededTimeLimit: Operation timed out, request was RemoteCommand 2032618 -- target:172.*.*.*:10000 db:admin cmd:{ isMaster: 1 }
 
[conn64648] Invariant failure event.isValid() src/mongo/executor/thread_pool_task_executor.cpp 256

restart the mongos can solve this problem,In a few days,this problem once again.

Now it is running normally,the mongos connet to shard servers every 15 seconds,behavior like this happen much too often. what wrong with it?



 Comments   
Comment by Kelsey Schubert [ 27/Feb/17 ]

Hi tom.tang,

We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Regards,
Thomas

Comment by Mark Agarunov [ 13/Feb/17 ]

Hello tom.tang

Thank you for the report. To better determine the cause of the behavior you are describing, please provide the following:

  • Complete logs from mongod for the period of time this issue was present.
  • Complete logs from mongos for the period of time this issue was present.

Thank you,
Mark

Comment by Tom Tang (Inactive) [ 09/Feb/17 ]

This problem appears since shards adding auth,keyfile is right and the role is root .

The shard has been running for a few days since started auth.

Generated at Thu Feb 08 04:16:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.