rsync error: error in socket IO (code 10) at io.c(1118)

  • 10086684
  • NOVL92245
  • 03-Sep-2003
  • 17-Aug-2004

Fact

RSync 2.5.5 dated June 17, 2003

Symptom

Rsync a large volume sometimes fails

rsync error: timeout in data send/receive (code 30) at io.c(114

SendBuffer: Error 361: 10038 with call WSAEventSelect()

rsync error: error in socket IO (code 10) at io.c(1118)

Fix

Increase the timeout value to 3600.
For example
rsync -az / 192.168.1.25::SourceSrvVOL1 -volume=vol1: -port=873 -local-port=873 -stats -timeout=3600

Other things to try:

SET TCP SACK OPTION=OFF
Understand what this does.

Also try a bandwidth limit.  For example:
rsync -az / 192.168.1.25::SourceSrvVOL1 -volume=vol1: -port=873 -local-port=873 -stats -timeout=3600 -bwlimit=100

Try running without SSL.