Win2k + Cygwin + Rsync + OpenSSH = hang

Justin Zipperle jzipperle@crst.net
Fri Mar 2 20:30:00 GMT 2007


I've tested pulling from other Linux servers and rsync still hangs.  I 
have also been unable to push from the Windows server to any Linux 
server - rsync on the Windows box hangs.  Since all of these Linux 
machines work fine rsyncing to and from other Linux machines, I'm 
confident that the problem is with rsync on the Windows machine.

Can anyone help with this?

Thanks!
-Justin


On 2/15/2007 5:05 PM, Justin Zipperle wrote:
> 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@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/
>


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



More information about the Cygwin mailing list