This is the mail archive of the cygwin 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 issues with Windows Server 2008

Des Dougan wrote:
>> The application using the
>> databases was also having shutdown issues, so it appeared to be an
>> application-caused hang. Subsequently, though, I am seeing other
>> hang-ups.

Please notice that rsync-over-SSH on Cygwin has an unfortunate known
bug: it sometimes stalls and must be killed. This can happen rarely or
often depending on the person reporting it, and some work has been done
to pinpoint the problem, but it seems to go pretty deep and hasn't been
fixed yet.

A work around that usually works is to avoid SSH and use rsync://
protocol, but of course that means losing all the security advantages of
SSH (though maybe you could use rsync:// on a SSH-tunneled port with
success, using a slightly more complex script).

See also:

> Sorry to reply to my own post. I tried some other options, and found
> that if I used the rsync "W" option instead of the "u" option, the
> backup ran cleanly.
> Can someone clarify why this change affects the process?

The -W option tells rsync to always transfer the whole file instead of
only the changed parts, so it transfers quite more bytes, but it's less
CPU-intensive. On why this works the problem around for you, it's
probably because it changes the use quite a bit and casually doesn't get
into that hang.

Lapo Luchini -

âWe do what we must because we can.â (videogame "Portal", 2007)

Unsubscribe info:
Problem reports:

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