delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/15/17:06:23

X-Spam-Check-By: sourceware.org
Message-ID: <45D4D93D.3040705@crst.net>
Date: Thu, 15 Feb 2007 17:05:49 -0500
From: Justin Zipperle <jzipperle AT crst DOT net>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: ffes AT users DOT sourceforge DOT net
CC: cygwin AT cygwin DOT com
Subject: Re: Win2k + Cygwin + Rsync + OpenSSH = hang
References: <45D4CC2C DOT 7050705 AT crst DOT net>
In-Reply-To: <45D4CC2C.7050705@crst.net>
X-Spam-Processed: crst.net, Thu, 15 Feb 2007 17:05:45 -0500 (not processed: message from valid local sender)
X-MDRemoteIP: 68.237.189.157
X-Return-Path: jzipperle AT crst DOT net
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
Reply-To: jzipperle AT crst DOT net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

For the time being I've setup my Win2k server to push data to my Linux 
server, and I've noticed some more troubling behavior that hopefully 
will help narrow down the cause.

If I use the -vv option and there are more than 10,000 files to compare, 
before it starts transferring it dies with:

Read from remote host {my.linux.server}: Connection reset by peer
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) 
[sender=2.6.9]

On the remote (Linux) side, rsync is still running and I have to kill it 
manually:

28422 ?  Ss  0:00 sshd: root AT notty
28427 ?  Ss  0:00 rsync --server -vvlogDtpr --partial . /remotedir/

If I have less than 10,000 files, it runs okay with -vv.  I've also 
noticed that this sometimes happens when using the -z option, though not 
always.  It does not appear to crash with -v.  I wonder if it has to do 
with the size of files being transferred...

I'm going to try this against another server shortly and see if the same 
things happen.

-Justin


Frank Fesevur wrote:
> At 14-2-2007 14:48, Justin Zipperle wrote:
>  > I'm trying to pull data from a Windows 2000 Server to a Debian Linux
>  > server using rsync over ssh.  If I initiate the transfer from Linux 
> it hangs when transferring data, though it works when I push it from the 
> Windows server.  This appears to be a known issue.
>  >
>  > In August 2006, Darryl Miles wrote to this list "I am actively working
>  > on a solution, but at current work rate it maybe a few weeks to a month
>  > before any preliminary patch will be posted here."
>  >
>  > Does anyone know of a fix for this problem?  I'm using Cygwin 1.5.24, 
> Rsync 2.6.9, and OpenSSH 4.5p1.
> 
> I have asked a similar question last December and no reply to that one 
> either. <http://cygwin.com/ml/cygwin/2006-12/msg00675.html>
> 
> It seems that Darryl didn't have the time anymore to solve this, or he 
> was too much worried after the whole legal discussion that followed his 
> post that he decided not to do it at all. Which would be a pity, because 
> I have no clue how to fix it myself.
> 
> Regards,
> Frank


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