This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rsync on Cygwin ... possible problem


Heitzso wrote:

Hi Lapo,

I was building up a synchronization mechanism for
a distributed metadata environment and the scripts
ran fine on Linux but tangled on Cygwin/rsync.

Behavior is that the cygwin rsync blocks after
some number of consecutive/sequential but rapid rsync
commands, ?? 20 ??
When I substitute scp (with appropriate change
of parameters for scp) the scripts work fine
on cygwin.

Parameters using:

rsync -e ssh --blocking-io --compress --ignore-times scp -qBC

I have no idea if the problem is rooted in:
Win2K cygwin (current)
rsync port on cygwin

Feel free to email me if you want the actual
message. I'm under a lot of pressure to get
this out the door so don't have time to dig
into much more than passing this flag on to you.

BTW, please do not treat this as a complaint,
I'm very grateful that Cygwin exists and is
available for us to use. I'm just trying to
help out by relaying information upstream.

I know of the problem, but unfortunately in this period I have too few time to debug it extensively.
Someone else seems to have done it though:
http://sources.redhat.com/ml/cygwin/2002-09/msg01155.html
http://sources.redhat.com/ml/cygwin/2002-10/msg00296.html

In the first message there is an analysis that seems to indicate that is "cygwin's fault" but that there can be a patch do rsync itswelf to avoid the problem.
The second message contains a precompiled EXE with the patch included.

I had yet no time to study relevant cygwinsources to find a real "solution".

BTW: please use the ML for questions so that everyone can read it

Lapo


--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]