RSync over SSH hangs and fails with timeout

Posted by tx2 on Server Fault See other posts from Server Fault or by tx2
Published on 2012-03-18T14:59:03Z Indexed on 2012/03/18 18:04 UTC
Read the original article Hit count: 180

Filed under:
|
|

Client: Gentoo, GCC 4.3.4, RSync 3.0.9 Server: Ubuntu 10.04.4 LTS, RSync 3.0.7

Client and server connectet through is Internet, about 2Mbps. Ping is ok.

RSync called on any files in any direction hangs on random file, then, after timeout, fails with:

[sender] io timeout after 30 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(140) [sender=3.0.9]
[sender] _exit_cleanup(code=30, file=io.c, line=140): about to call exit(30)

In 1/10 trys is pass correctly.

I've tryed to add SSH options TcpRcvBufPoll=yes, KeepAlive=yes; disable and enable rsync compression -- no changes.

How can i make rsync works properly?

© Server Fault or respective owner

Related posts about linux

Related posts about ssh