Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/vim/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
MongoDB复制错误NetworkInterfaceeExceededTimeLimit和MaxTimeMSExpired-原因和修复_Mongodb_Replication - Fatal编程技术网

MongoDB复制错误NetworkInterfaceeExceededTimeLimit和MaxTimeMSExpired-原因和修复

MongoDB复制错误NetworkInterfaceeExceededTimeLimit和MaxTimeMSExpired-原因和修复,mongodb,replication,Mongodb,Replication,在主、次和仲裁器的复制设置中,复制连接URI间歇性超时,日志显示以下错误。请帮助分享可能出现的问题以及建议的解决方案 NetworkInterfaceExceededTimeLimit: error in fetcher batch callback :: caused by :: timed out. Last fetched optime (with hash): { ts: Timestamp(1554364591, 71), t: 65596 }[3697357721798898959

在主、次和仲裁器的复制设置中,复制连接URI间歇性超时,日志显示以下错误。请帮助分享可能出现的问题以及建议的解决方案

 NetworkInterfaceExceededTimeLimit: error in fetcher batch callback ::
caused by :: timed out. Last fetched optime (with hash): { ts:
Timestamp(1554364591, 71), t: 65596 }[3697357721798898959]. Restarts
remaining: 1 I REPL     [replication-1] Error returned from oplog
query (no more query restarts left): MaxTimeMSExpired: error in
fetcher batch callback :: caused by :: operation exceeded time limit W
REPL     [rsBackgroundSync] Fetcher stopped querying remote oplog with
error: MaxTimeMSExpired: error in fetcher batch callback :: caused by
:: operation exceeded time limit I REPL     [SyncSourceFeedback]
SyncSourceFeedback error sending update to <ServerFQDN>:27017:
InvalidSyncSource: Sync source was cleared. Was <ServerFQDN>:27017`

I did refer to link: https://stackoverflow.com/questions/44798577/mongodb-replication-timeout

but it does not match the case with ours. The disk drives have enough space. Please help suggest what could be wrong here. Thank you!!

Each time restart the mongo service on both the servers but it does not help. Error keeps coming intermittently.
NetworkInterfaceeExceededTimeLimit:获取程序批回调中出错::
由…引起的超时。上次获取的optime(带哈希):{ts:
时间戳(1554364591,71),t:65596}[369735772179898959]。重新开始
剩余:从oplog返回1 I REPL[replication-1]错误
查询(不再重新启动查询):MaxTimeMSExpired:中的错误
获取程序批回调::原因::操作超出时间限制W
REPL[rsBackgroundSync]获取程序已停止使用查询远程oplog
错误:MaxTimeMSExpired:获取程序批回调中的错误::由以下原因引起
::操作超出时间限制I REPL[SyncSourceFeedback]
SyncSourceFeedback将更新发送到:27017时出错:
InvalidSyncSource:同步源已清除。Was:27017`
我确实提到了链接:https://stackoverflow.com/questions/44798577/mongodb-replication-timeout
但这与我们的情况不符。磁盘驱动器有足够的空间。请帮助建议这里可能出现的问题。非常感谢。
每次在两台服务器上重新启动mongo服务,但都没有帮助。错误时断时续地出现。

收到超时错误时,请检查
rs.status()
的值。rs.status()将服务器的状态显示为健康状态,即主服务器、辅助服务器和仲裁服务器。但是,如果我们尝试运行show dbs,shell不会响应。您成功解决了这个问题吗?