Rsyncing huge file, timeout on rsyncd

Libor Klepáč libor.klepac at bcom.cz
Thu Aug 2 08:24:43 MDT 2012


Hello,
tried to set timeout=7200 on both sides
also enabled logging in rsyncd

Here is output from server
2012/08/02 15:07:23 [2339] connect from ms-backup.xx.local (192.168.5.213)
2012/08/02 15:07:23 [2339] rsync to iSCSI-backup/ from backup-rsync at ms-
backup.xx.local (192.168.5.213)
2012/08/02 13:07:23 [2339] receiving file list
2012/08/02 13:27:26 [2339] rsync error: timeout in data send/receive (code 30) 
at io.c(137) [receiver=3.0.7]
2012/08/02 13:27:27 [2339] rsync: connection unexpectedly closed (95 bytes 
received so far) [generator]
2012/08/02 13:27:27 [2339] rsync error: error in rsync protocol data stream 
(code 12) at io.c(601) [generator=3.0.7]

Here is output from client

opening tcp connection to 192.168.5.250 port 873
sending daemon args: --server -vvte.Lsf --timeout=7200 --numeric-ids --inplace 
. iSCSI-backup/
rsync: connection unexpectedly closed (2933968 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) 
[sender=3.0.9]

real    20m3.942s
user    0m0.064s
sys     0m0.156s


Command line was
time rsync -vv --contimeout=7200 --timeout=7200 --inplace --progress --
numeric-ids --times --password-file .passwd iscsi/iscsiDisk1 rsync://backup-
rsync at 192.168.5.250:/iSCSI-backup/


Libor

Dne Thursday 02 August 2012 14:20:19, Paul Slootman napsal(a):
> On Thu 02 Aug 2012, Libor Klepáč wrote:
> > Ok, i'l try setting timeout, but according to documentation, default is
> > timeout=0 which means no timeout.
> 
> IIRC setting the timeout explicitly on both ends (if you're using an
> rsync daemon) to the same value will cause some sort of heartbeat
> activity. Note also that an inferior firewall may also "forget" the
> connection if there is no traffic for a longer period of time.
> 
> > Maybe setting --contimeout to some large value should help?
> 
> No, I'm quite sure that has nothing to do with this; you _had_ a
> connection, which timed out. --contimeout is for the timeout for making
> the initial connection.
> 
> 
> Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20120802/3050e027/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/rsync/attachments/20120802/3050e027/attachment.pgp>


More information about the rsync mailing list