>
> ---------- Forwarded message ----------
> From: Nicholas M Saraniti
> To: rsync@lists.samba.org
> 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@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.

HTH,
Hari
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html