X-Spam-Check-By: sourceware.org Message-ID: Date: Thu, 27 Apr 2006 05:35:17 -0400 From: "Brett Serkez" 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <061e01c6694d$18d79e20$a501a8c0 AT CAM DOT ARTIMI DOT COM> <014001c66953$3eeded20$b5db87d4 AT multiplay DOT co DOT uk> <01cc01c66968$50acb950$b5db87d4 AT multiplay DOT co DOT uk> <20060427081642 DOT GA11497 AT calimero DOT vinschen DOT de> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k3R9ZWpS024930 Corinna, > 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. 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/