Hi, I have 2 linux machines on a Gig network. What would be the reason for getting a timeout error. We have --timeout=600 in the command. The version of rsync is 2.6.2. There are no evident network problems otherwise. The command used is rsync -a --delete --timeout=600 --stats --rsh="ssh -p 22" /localdata/ server:/remotedata/ io timeout after 600 seconds - exiting rsync error: timeout in data send/receive (code 30) at io.c(143) Other rsyncs between the same 2 machines work when less data is transferred. Please advise as to what I can tune to get past this. Thanks, Sameer
is it perhaps your SSH timing out when its waiting on file lists to be built? Tomasz On Fri, Jul 09, 2004 at 01:23:26PM -0400, Sameer Kamat wrote:> Hi, > I have 2 linux machines on a Gig network. What would be the reason for > getting a timeout error. We have --timeout=600 in the command. The version > of > rsync is 2.6.2. There are no evident network problems otherwise. > > The command used is > > rsync -a --delete --timeout=600 --stats --rsh="ssh -p 22" /localdata/ > server:/remotedata/ > io timeout after 600 seconds - exiting > rsync error: timeout in data send/receive (code 30) at io.c(143) > > > Other rsyncs between the same 2 machines work when less data is transferred. > > Please advise as to what I can tune to get past this. > > Thanks, > Sameer > > -- > To unsubscribe or change options: lists.samba.org/mailman/listinfo/rsync > Before posting, read: catb.org/~esr/faqs/smart-questions.html-- Tomasz M. Ciolek ******************************************************************************* tmc at dreamcraft dot com dot au ******************************************************************************* GPG Key ID: 0x41C4C2F0 GPG Key Fingerprint: 3883 B308 8256 2246 D3ED A1FF 3A1D 0EAD 41C4 C2F0 Key available on pgp.net *******************************************************************************
On Fri, Jul 09, 2004 at 01:23:26PM -0400, Sameer Kamat wrote:> rsync -a --delete --timeout=600 --stats --rsh="ssh -p 22" /localdata/ server:/remotedata/ > io timeout after 600 seconds - exitingTry changing --delete to --delete-after and see if your timeout problem either goes away or switches to after the files are transferred. If so, the pause for the receiver to build a list of files to allow it to figure out what to delete is timing out. The only solution to that (at the moment) is to increase the timeout. ..wayne..