rsync 传输停止 rsync error: timeout in data send/receive (code 30)at io.c(171) [sender=2.6.8]


最近利用rsync传输文件的时候老是传到10%左右停止客户端没有任何报错,到服务端查看日志发现:

2015/03/25 15:28:41 [7778] rsync error: timeout in data send/receive (code 30) at io.c(171) [sender=2.6.8]
2015/03/25 15:33:12 [7778] rsync: writefd_unbuffered failed to write 84 bytes [sender]: Connection timed out (110)

连接超时,那么就增加一下超时时间吧,--timeout=3600

再次进行传输就不会出现停止状态了。

QQ图片20150326102940


Whatever is worth doing is worth doing well.