X-Spam-Check-By: sourceware.org 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= Message-ID: Date: Thu, 22 Feb 2007 09:29:34 -0500 From: "Lev Bishop" To: cygwin AT cygwin DOT com Subject: Re: Rsync stops responding via SSH In-Reply-To: <45DCD565.1050800@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2f78bdb40702200839g226a8c09u47e994e401e7df4d AT mail DOT gmail DOT com> <2f78bdb40702211422t443335b7ma1b3becc7d3cad4e AT mail DOT gmail DOT com> <45DCD565 DOT 1050800 AT cygwin DOT com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 On 2/21/07, Larry Hall (Cygwin) wrote: > Roald Hendriks wrote: > > 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/