最近利用rsync传输文件的时候老是传到10%左右停止客户端没有任何报错,到服务端查看日志发现:
rsync error: timeout in data send/receive (code 30) at io.c(200) [receiver=3.0.6]
rsync: connection unexpectedly closed (5880209 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
连接超时,那么就增加一下超时时间吧,–timeout=7200
转载请注明:爱开源 » rsync error: timeout in data send/receive (code 30) at io.c(200) [receiver=3.0.6]