[Bug 1476] New: Unexplained timout at end of file transfer.

samba-bugs at samba.org samba-bugs at samba.org
Thu Jun 24 12:09:50 GMT 2004


https://bugzilla.samba.org/show_bug.cgi?id=1476

           Summary: Unexplained timout at end of file transfer.
           Product: rsync
           Version: 2.6.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: ej.grace at imperial.ac.uk
         QAContact: rsync-qa at samba.org


I have been using rsync for quite some time for automated backups, recently the
backups have begun failing for no apparent reason.

The appropriate environment variable is set for SSH and the command line used is
of the form:

rsync --includes=includes --excludes=excludes --timeout=120 --partial --stats
--temp-dir="$TARGET/tmp"  -a --delete --link-dest="$TARGET/$NAME_OF_LAST"
"$SOURCE" "$TARGET/InProgress"

Where the variables are self explanatory.

With the -v option I get the following error:

rsync error: timeout in data send/receive (code 30) at io.c(143)
rsync: connection unexpectedly closed (4023759 bytes read so far)
rsync: writefd_unbuffered failed to write 2248 bytes: phase "unknown": Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(836)


Without the -v option I get the slightly different error (note the different
lines of io.c):

rsync error: timeout in data send/receive (code 30) at io.c(143)
rsync: connection unexpectedly closed (3925349 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
rsync: connection unexpectedly closed (3925349 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)

It appears that all the files have been sucessfully transfered but somehow rsync
is having difficulty "hanging up" the connection.  This problem first surfaced
with earlier versions of rsync but seems to be endemic. 

Any ideas of what the cause could be or what tests you would like me to carry
out for a better clue?  

I have been making use of the --link-dest option, the destination disk is only
60% full, the transfer is carried out from a remote machine to the local machine
over ssh.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list