delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/27/05:35:38

X-Spam-Check-By: sourceware.org
Message-ID: <a5f030530604270235r7ae2b072k2306a6b0b69d48bd@mail.gmail.com>
Date: Thu, 27 Apr 2006 05:35:17 -0400
From: "Brett Serkez" <bserkez AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rsync over ssh hang issue understood
In-Reply-To: <20060427081642.GA11497@calimero.vinschen.de>
MIME-Version: 1.0
References: <061e01c6694d$18d79e20$a501a8c0 AT CAM DOT ARTIMI DOT COM> <014001c66953$3eeded20$b5db87d4 AT multiplay DOT co DOT uk> <e2ogj9$cnj$1 AT sea DOT gmane DOT org> <01cc01c66968$50acb950$b5db87d4 AT multiplay DOT co DOT uk> <e2okqi$sf9$1 AT sea DOT gmane DOT org> <20060427081642 DOT GA11497 AT calimero DOT vinschen DOT de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k3R9ZWpS024930

Corinna,

<snip>
> <rant> The "rsync hangs" problem is not actually a new one.  We had
> these reports already ages ago.  However, *nobody* so far having that
> problem seem to be willing to actually debug this problem and track it
> down.  Grrr.  </rant>

This is exactly fair, several individuals did their best to debug the
issue.  I recall several detailed investigations, including my own,
looking in detail at the rsync protocol.

As I recall, this problem was tracked as far as the local pipe between
ssh and rsync on the Cygwin end.

When rsync is run on Cygwin, it runs ssh (presumably via popen) in a
'subshell' to start its cooperative rsync on the target and then they
both read and write on their standard in and out in a strict protocol.
  On a UNIX/Linux system the local pipe is handled by the Kernel, on
Windows, Cygwin has to handle this "magic".  It is this "magic" that
eventually fails, the hang occurs when both rsync process are waiting
on a read from each other, perhaps a flushing or missed signal????????

This problem was at this point, waiting for someone more experienced
to diagnose the local pipe.

Brett

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019