具體表現(xiàn)是:我使用rsync往服務器同步文件,我設置了超時timeout=5(不設置這個值也會出現(xiàn)這樣的問題),然后運行大約1小時后,不斷出現(xiàn)timeout的錯誤提示,出現(xiàn)大約10多個后,程序卡在rsync上不往下運行。此時的CPU很高,如下:PIDUSERPRNIVIRTRESSHRS%CPU%MEMTIME+COMMAND2243luffyctz25039001184944R990.08:08.98rsync請問這是什么問題呢?server端的log補充:2015/03/2420:05:59[9603]Serviceregistrationexpired,refreshingit2015/03/2420:05:59[9603]rsyncdregistering1servicewithslpdfor300seconds:2015/03/2420:05:59[9603]Couldnotresolvehostname:Nameorservicenotknown2015/03/2420:10:36[23380]rsyncerror:timeoutindatasend/receive(code30)atio.c(171)[receiver=2.6.8]客戶端的錯誤提示:rsyncerror:timeoutindatasend/receive(code30)atio.c(171)[receiver=2.6.8]rsync:connectionunexpectedlyclosed(4bytesreceivedsofar)[sender]
rsync 同步文件時卡住不動
慕尼黑8549860
2019-04-07 11:19:05