rsync hanging on large windows directories

Hari Krishna Dara haridara at
Fri Oct 7 05:06:45 GMT 2005

> ---------- Forwarded message ----------
> From: Nicholas M Saraniti <nick at>
> To: rsync at
> Date: Tue, 04 Oct 2005 15:38:12 -0400
> Subject: rsync hanging on large windows directories
> I have a RH 8.0 box which issues the following command to a Windows
> machine running the most recent version of cygwin.  Both boxes have been
> updated to rsync 2.6.6 and I use the following command from the LINUX
> BOX (SSH keygen agent is setup for passwordless logins and the IP is
> aliased under /.ssh/config)
> rsync -avz --delete --progress -e "ssh"
> userName at WIndowsBoxIP:/cygdrive/e/www/Apache/htdocs/
> /My/Local/Directory/On/Linux/Box
> Sometime rsync hangs on getting the file list (~1400 Files in many
> directories)
> Most times the transfer starts and hangs on the first large file
> Once the rsync actually completed.
> There appears to be nothing unusual when using -avvvz
> /cygdrive/e on the WIndows 2K box is a local drive (not a network share)
> I have this exact same problem on two different Win2K machiens (Win2K
> Pro, and Win2K Advanced Server)
> Any help would be GREATLY appreciated.....
> Thanks In Advance,
> Nick

In general rsync over cygwin ssh is known to be unstable because of
some bugs in cygwin pipes implementation. Your only option is to use
rsync in daemon mode. I have been using this method to mirror huge
directories and it seems pretty stable.


More information about the rsync mailing list