rsync hanging at "generate_files phase=1"

Daniel Maher dma+rsynclist at
Fri Mar 21 10:45:20 GMT 2008

Hello all,

I am experiencing a (consistent, reproducible) condition whereby rsync
is hanging indefinitely at the following stage :
generate_files phase=1

The condition does not occur if --dry-run is specified - only when the
run is "for real".  Finally, i can scp the files without problems, so
it is not a general connection issue, nor is it a problem with
permissions (everything is running via sudo in any case).

The pertinent info :

Initiating machine (backup-01) :

[rsync-backup at backup-01 ~]$ uname -a
Linux backup-01 #1 SMP Thu Nov 1 21:09:24 EDT 2007 i686
i686 i386 GNU/Linux

[rsync-backup at backup-01 ~]$ rsync --version | head -n 8
rsync  version 3.0.0  protocol version 30
Copyright (C) 1996-2007 by Andrew Tridgell, Wayne Davison, and others.
Web site:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, no symtimes

(Commandline, generated by in-house script...)
[rsync-backup at backup-01 ~]$ /usr/bin/sudo /usr/bin/rsync -bavz
--fake-super --delete --numeric-ids -R
--rsync-path="/usr/bin/sudo /usr/bin/rsync"
--backup-dir=/opt/rsync-backup/ -e
"/usr/bin/ssh -i /home/rsync-backup/.ssh/id_rsa"
rsync-backup at"/cygdrive/d/BACKUP" /opt/rsync-backup/

The machine being connected to ( :

$ uname -a
CYGWIN_NT-5.2 crm-server-02 1.5.25(0.156/4/2) 2008-03-05 19:27 i686

$ rsync --version | head -n 6
rsync  version 2.6.9  protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
Capabilities: 64-bit files, socketpairs, hard links, symlinks,
batchfiles, inplace, no IPv6, 64-bit system inums, 64-bit internal inums

As you might imagine, i'm inclined to believe it's got something to do
with rsync on Cygwin.  Of course, there's the obligatory "it worked
fine for a few days", which it did, and (of course) i changed nothing
on either end.

Any insight would be more than welcome.  I'm happy to provide any
further information as necessary.

As a side-note, i've been using rsync as part of our backup strategy
for about half a year now, and this is the only problem i've
encountered since we've gone into production.  I'd say that's a pretty
solid track record so far. :)

Daniel Maher <dma AT>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the rsync mailing list