delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/25/12:53:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Subject: Re: rsync hangs (v2.6.2-1 on both Cygwin and Fedora)
From: "Clif J. Smith" <cygwin AT cjs226 DOT com>
To: "Patrick J. LoPresti" <patl AT curl DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <s5gsmbg12gn.fsf@egghead.curl.com>
References: <1090648090 DOT 16554 DOT 142 DOT camel AT centipede DOT int DOT cjs226 DOT com> <s5gsmbg12gn DOT fsf AT egghead DOT curl DOT com>
Message-Id: <1090774283.3602.6.camel@centipede.int.cjs226.com>
Mime-Version: 1.0
Date: Sun, 25 Jul 2004 11:51:23 -0500
X-IsSubscribed: yes

On Sun, 2004-07-25 at 11:22, Patrick J. LoPresti wrote:
> "Clif J. Smith" writes:
> 
> > I'm trying to rsync data from a WinXP system running Cygwin to a Fedora
> > Core 2 system.  When running the following command from my Fedora
> > system, it'll build a file list for a while, but never actually sync
> > anything and complete:
> > # /usr/bin/rsync -avvvv --delete --numeric-ids --rsh=/usr/bin/ssh \
> > system AT foo DOT bar DOT com:/cygdrive/d/directory/ /fs1/directory/
> > 
> > It never hangs at the same spot.  I can rsync to other Linux and
> > Solaris systems without issue.  I never see an error, it just
> > hangs...
> 
> You may be seeing the classic "cygwin rsync hang" problem:
> 
>     http://www.cygwin.com/ml/cygwin/2003-10/msg01807.html
> 
> The problem arises because Cygwin's select() indicates "OK to write"
> on pipes even when the pipe is full and the write will block.  The
> write blocks even though the pipe is flagged O_NONBLOCK.
> 
> Bob Byrnes, who did the diagnosis above (and who is a coworker of
> mine) has patched our local copy of Cygwin to implement proper
> select() for writing on pipes, as well as to fix some other hangs.  He
> is working on getting the patches and documentation into shape for
> submission.
> 
>  - Pat
Thanks for the insight and I anxiously await the patch!

cjs


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