delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/31/05:17:07

X-Spam-Check-By: sourceware.org
Date: Sat, 31 Dec 2005 11:16:56 +0100
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: <20051231101656.GG32312@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1135981415 DOT 32640 DOT 250806707 AT webmail DOT messagingengine DOT com>
Mime-Version: 1.0
In-Reply-To: <1135981415.32640.250806707@webmail.messagingengine.com>
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 Dec 30 17:23, Brett Serkez wrote:
> After running into the hang trying to use rsync over ssh on Cygwin,
> reported on this mailing list, but with no resolution other than use of
> daemon mode, I tracked down the problem.  I have rsync working over ssh
> on Cygwin.

Me too.  I'm using the standard version of rsync, so I guess the
socketpair call is still in use.

> The hang is occuring when rsync is attempting to exchange protocol
> version numbers, it writes its version and then hangs waiting endlessly
> for a reply.  The ssh process is detached, and apparently not diretly
> connected to rsync, as it is an orphan, owned by process 1.  The ssh

Not on my machine.  ssh is a child process of rsync.

For tracking down, I would have wished to see that we could get a 
*reproducible* testcase in which rsync over ssh hangs, to have
a chance to track down a potential problem in the Cygwin DLL which
might cause this.  Even more welcome would be somebody who actually
debugs this situation inside of the Cygwin DLL, but that's becoming
more and more a futile dream.


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