delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/18/07:31:55

X-Spam-Check-By: sourceware.org
Message-Id: <200602180325.k1I3Pg94037642@crag.niss.com>
From: Scott Bolte <listS+cygwin AT niss DOT com>
To: "Brett Serkez" <techie AT serkez DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: rsync fork/exec problem with odd twist for native windows programs
MIME-Version: 1.0
Date: Fri, 17 Feb 2006 21:25:42 -0600
X-IsSubscribed: yes
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

	Brett,

	Thanks for the suggestion.  Switching from socketpair() to
	pipe() does let ssh get going, but rsync later runs into
	problems. A few minutes into the transfer it just hangs.

	Since I exercised ssh by transferring 16MB files back and
	forth for 10 minutes, I'm inclined to point the finger at
	rsync.  However, I use the same version of rsync on another
	system where it runs like a champ. That doesn't leave any
	suspects.

	I'm still puzzled as to why even true.exe hung. I did not
	want to make my problem report even longer, but I had another
	test program which was literally "int main() { exit(0) }",
	just in case true.exe was not as minimal as expected. That
	test program also hung when spawned by rsync.

		Scott

On Fri, 17 Feb 2006 18:11:40 -0500, "Brett Serkez" wrote:
> Scott,
> 
> <snip>
> > I started this investigation when rsync spawning ssh hung. By using
> > the -vv verbose option I could tell that rsync was starting ssh.
> 
> It is difficult to tell if this is the same or similar to the rsync hang
> I experienced:
> 
> http://sourceware.org/ml/cygwin/2005-12/msg01096.html
> 
> It seemingly hangs in the same/similar place, in my case I substituted
> the use of a local pipe for a local socket to resolve.
> 
> > However, a netstat on the remote host did not show any connection.
> > Btw, when I call ssh directly it works just fine.
> 
> Yes, same here.
> 
> Brett
> ----------------------------------------------------------------
> Brett C. Serkez, Techie
> 

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