Re: (CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-14 Thread Lapo Luchini
Matt McCutchen wrote:
 As far as I know, the problem has not been fixed.  Since you have a
 setup that hangs consistently, you could do an enormous favor for all
 rsync-on-Cygwin users if you brought up the problem again on the
 Cygwin list and worked with the Cygwin people to get it solved once
 and for all.  I would do it except that I don't use Cygwin.

As a package maintainer, I tried a few times (over the years) to track
this issue, but to no avail, mostly because I never could reproduce it
consistently, but partly for lack of time or even knowledge (I know
pretty much nothing of Windows internals, that's why I use Cygwin in the
first place)... and here's where the guilt kicks in hard :P

Lapo

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


Re: (CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-07 Thread Matt McCutchen
On 9/6/07, Jonathan Hurd [EMAIL PROTECTED] wrote:

 Problem:
 http://cygwin.com/ml/cygwin/2006-04/msg00792.html
 Explained:
 http://cygwin.com/ml/cygwin/2006-04/msg00835.html

 This is the exact same problem that I'm experiencing, but couldn't find a
 fix for it... Anyone?

As far as I know, the problem has not been fixed.  Since you have a
setup that hangs consistently, you could do an enormous favor for all
rsync-on-Cygwin users if you brought up the problem again on the
Cygwin list and worked with the Cygwin people to get it solved once
and for all.  I would do it except that I don't use Cygwin.

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


Re: (CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-06 Thread Matt McCutchen
On 9/5/07, Jonathan Hurd [EMAIL PROTECTED] wrote:
 Ok well I tried setting the bwlimit, wasnt sure what to set it to. Tried
 high 800's down to 50kb\s. No Luck.

The problem could be that the current bandwidth-limiting algorithm
doesn't prevent rsync from issuing two big writes in rapid succession,
which seems to be what triggers the hang in Cygwin.  Simply moving the
sleep_for_bwlimit call in writefd_unbuffered in io.c from after the
actual write to before it may make --bwlimit more effective at working
around the hang.

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


(CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-06 Thread Jonathan Hurd
Problem:
http://cygwin.com/ml/cygwin/2006-04/msg00792.html
Explained:
http://cygwin.com/ml/cygwin/2006-04/msg00835.html

This is the exact same problem that I'm experiencing, but couldn't find a fix 
for it... Anyone?



To: rsync@lists.samba.org
Sent: Tuesday, September 4, 2007 10:16:44 AM
Subject: (CYGWIN) Rsync Stalling Upon first file transfer.


Rsync will recieve the file list, and discover the files to consider, and then 
stalls out on the first actual file transfered. 
 
0 bytes 0kB/s. On the recieving server, the DLGDiagv504f.exe file is named 
.dlgdiagv504.f.exe.7dd0oa and is only 512 kb. The rsync process still runs 
after this, like it's in an idle mode.
 
It's not just this file, its been a number of different files. Permissions seem 
correct on both servers. Im using the latest cygwin build of rsync. 
 
Using this command:
rsync -av --progress --delete --exclude-from=exclude.list 
pullserver:/cygdrive/p/ /cygdrive/p/
pulling via ssh.-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: (CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-05 Thread Jonathan Hurd
Thanks Matt,
 
Ok well I tried setting the bwlimit, wasnt sure what to set it to. Tried high 
800's down to 50kb\s. No Luck.
 
The weird thing is how this worked but a day ago perfectly fine. This is over a 
WAN, and this is a pretty good backbone between the two sites.

Is there some sort of cache I need to clear...?


- Original Message 
From: Matt McCutchen [EMAIL PROTECTED]
To: Jonathan Hurd [EMAIL PROTECTED]
Cc: rsync@lists.samba.org
Sent: Tuesday, September 4, 2007 1:35:07 PM
Subject: Re: (CYGWIN) Rsync Stalling Upon first file transfer.

On 9/4/07, Jonathan Hurd [EMAIL PROTECTED] wrote:
 Rsync will recieve the file list, and discover the files to consider, and
 then stalls out on the first actual file transfered.

This is a well-known problem caused by bugginess in the Cygwin
pipe/socket code.  It is being tracked in this rsync bug report:

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

As a workaround, try setting a --bwlimit as described in the bug report.

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

(CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-04 Thread Jonathan Hurd
Rsync will recieve the file list, and discover the files to consider, and then 
stalls out on the first actual file transfered. 

0 bytes 0kB/s. On the recieving server, the DLGDiagv504f.exe file is named 
.dlgdiagv504.f.exe.7dd0oa and is only 512 kb. The rsync process still runs 
after this, like it's in an idle mode.

It's not just this file, its been a number of different files. Permissions seem 
correct on both servers. Im using the latest cygwin build of rsync. 

Using this command:
rsync -av --progress --delete --exclude-from=exclude.list 
pullserver:/cygdrive/p/ /cygdrive/p/
pulling via ssh.-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: (CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-04 Thread Matt McCutchen
On 9/4/07, Jonathan Hurd [EMAIL PROTECTED] wrote:
 Rsync will recieve the file list, and discover the files to consider, and
 then stalls out on the first actual file transfered.

This is a well-known problem caused by bugginess in the Cygwin
pipe/socket code.  It is being tracked in this rsync bug report:

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

As a workaround, try setting a --bwlimit as described in the bug report.

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