This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Rsync stops responding via SSH
- From: "Lev Bishop" <lev dot bishop at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 22 Feb 2007 09:29:34 -0500
- Subject: Re: Rsync stops responding via SSH
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=moWoNV6oNWyVV8AT15gWq7ZPbyqpfe6z2fXnSASWPp2j1+KqCy2Rd7q1kYuX/OSZ80eWjUJs2qEIWiIA0mTy+YJXjRs7mKJUG9a7IiUfYHLTdH1uKK5mqD/xN7Ly+eyYMLu4cD0XNQV5CGejToNBna5mpipSJdU7Pku5W8eXfrc=
- References: <2f78bdb40702200839g226a8c09u47e994e401e7df4d@mail.gmail.com> <2f78bdb40702211422t443335b7ma1b3becc7d3cad4e@mail.gmail.com> <45DCD565.1050800@cygwin.com>
On 2/21/07, Larry Hall (Cygwin) wrote:
Roald Hendriks wrote:
<snip>
> Is it possible that I'm suffering from this known issue?
>
> Is there a patch available?
>
> I'm using OpenSSH 4.5p1-1 and rsync 2.6.6. I have even compiled rsync
> 2.6.9, but this has not resolved the issue.
>
> In order to rule out a server issue, I was able to reproduce the
> problem on another server as well (using a fresh install of CygWin).
Yes, this is a known and long-standing issue with rsync on Cygwin. There
has been much talk about it and some attempts to fix it but, to my
knowledge, no one is currently working on it. So, for now, it is a
limitation of rsync on Cygwin.
There has been code in cygwin for some years now, that attempts to fix
this, but it is not activated by default, due to it having the
potential to cause more problems than it solves (shifting the problem
from one of deadlocking on a full pipe, to deadlocking on an empty
pipe). It wouldn't be a good idea to use cygwin with this code
activated, for general purposes, but if all you wanted was to run some
automated rsync scripts and nothing else, maybe it would do the trick
for you. Look at the #if 0 in peek_pipe() in select.cc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/