[Bug 2628] New: hangs indefinitely (while listing files)

samba-bugs at samba.org samba-bugs at samba.org
Tue Apr 19 21:15:33 GMT 2005


           Summary: hangs indefinitely (while listing files)
           Product: rsync
           Version: 2.6.4
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: oopla at users.sf.net
         QAContact: rsync-qa at samba.org


I'm using (or trying to use) rsync over an openvpn(8) tunnel over an ADSL link
to sync 2 repositories.
On one end there's a Slackware 10.1, on the other Debian 2.2 and 3.x.
I was using distro-provided rsync versions, then grabbed 2.6.4, then latest CVS
20050418, but still get the problem. I thought it was related to the 
-v + long list bug mentioned in 2.6.4 rel. notes, but seems not so.

What happens is, that rsync just hangs while - I think - transferring dir
listing, till a cron process kills it. 
Seems it doesn't hang always on same point.

I've tried rsync --demon --no-detach --bwlimit 20 -vvv (w/ and w/out bwlimit)
but that issues no log at all, despite -v.
So I run rsync by strace -f, and it just sit on a 

select(6, [5], ...) 

while the client, run with -vvv stops listing files on a line with

generate_files phase=1

and hangs there forever; adding --timeout 90 it exit that lock with

io timeout after 120 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(181)
rsync: connection unexpectedly closed (11628 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)

I kept the demon 2.6.4 while the client is currently the CVS version mentioned.

Any workaround? something I'm missing?

-- paolo

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