delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/28/04:25:14

X-Spam-Check-By: sourceware.org
Date: Fri, 28 Apr 2006 10:24:56 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rsync over ssh hang issue understood
Message-ID: <20060428082456.GJ28583@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <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> <44508D05 DOT 307 AT baltech DOT de> <20060427165032 DOT GA28583 AT calimero DOT vinschen DOT de> <003701c66a2a$2f30b610$b3db87d4 AT multiplay DOT co DOT uk> <20060427184610 DOT GA8203 AT trixie DOT casa DOT cgf DOT cx> <004901c66a2c$ab0d03e0$b3db87d4 AT multiplay DOT co DOT uk> <20060427190910 DOT GB8203 AT trixie DOT casa DOT cgf DOT cx> <007901c66a2f$03c81810$b3db87d4 AT multiplay DOT co DOT uk>
Mime-Version: 1.0
In-Reply-To: <007901c66a2f$03c81810$b3db87d4@multiplay.co.uk>
User-Agent: Mutt/1.4.2i
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

On Apr 27 20:15, Steven Hartland wrote:
> ----- Original Message ----- 
> From: "Christopher Faylor" <cgf-no-personal-reply-please AT cygwin DOT com>
> 
> > "Search for cygwin1.dll using the Windows Start->Find/Search facility
> > and delete all but the most recent version.  The most recent version 
> > *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have
> > installed the cygwin distribution.  Rebooting is also suggested if you
> > are unable to find another cygwin DLL."
> 
> Stupid me, perl.exe still running in the background using the old .dll.
> Things now run by unfortunately rsync is still hangs virtually
> instantly :(
> 
> [log]
> rsync -av --progress cygwin1:/testdir/ testdir/     
> receiving file list ... 
> 1705 files to consider
> created directory testdir
> ./
> bf2_w32ded.exe
> ***HUNG HERE***
> ^CKilled by signal 2.0.00kB/s    0:00:00
> rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(242) 
> [receiver]
> rsync error: unexplained error (code 255) at rsync.c(242) [generator]
> [/log]

Damn (sorry).

It works fine for me with the latest snapshot.  I tried Peter's example
with 1000 files and rsync over ssh works like a charm for me.  Sigh.

This is really a tricky problem.  What I could do to circumvent this at
least for connections over ssh is to upload an OpenSSH test version
which uses socketpairs instead of pipes for the local connection to the
applications.  This avoids using pipes which are the culprit here,
apparently.    I would mark it as experimental version, but actually the
only difference would be that it would be a few per cent slower than the
version using pipes.  And that it probably doesn't hang.

Is there interest in such a version?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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