X-Spam-Check-By: sourceware.org
X-KENId: 00001186KEN44D1BDC8
X-KENRelayed: 00001186KEN44D1BDC8@VIVALDI
Date: Wed, 26 Apr 2006 11:51:47 +0200
From: Peter Keitler <peter.keitler@baltech.de>
Subject: Re: rsync over ssh hang issue understood
To: cygwin@cygwin.com
Message-Id: <444F42B3.90208@baltech.de>
Mime-Version: 1.0
Content-Type: multipart/mixed;    boundary="------------010004010609030402050307"
X-KENRecTime: 1146044979
X-AntiVir4Ken: checked by AntiVir for KEN!; host=VIVALDI    ANTIVIR.VDF 6.34.01.09, AVEWIN32.DLL 6.34.01.58, AVPACK32.DLL 6.33.00.06,    AVDOWNLD.DLL 6.34.00.02, UNRAR.DLL 0.00.00.00, UNACEV2.DLL 2.6.00.00,    SAVAPI.DLL 6.33.00.00, SAVAKEN.DLL 6.33.00.04
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
X-Relayed-By: GPGrelay Version 0.959 (Win32)
X-Spam: [F=0.0100000000; heur=0.500(0); stat=0.010; spamtraq-heur=0.500(2006042514)]
X-MAIL-FROM: <peter.keitler@baltech.de>
X-SOURCE-IP: [213.198.17.110]
X-Loop-Detect: 1
X-DistLoop-Detect: 1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------010004010609030402050307
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

there has been a discussion about Cygwin hangs last December/January. I 
think the problem is still alive. I tested with the current snapshot of 
cygwin dll (2006-04-24). I can reproduce it with the short script 
attached on my WinXP (all patches applied via online update). The script 
generates a lot of random files on the server side (here on localhost) 
and rsyns them to the client side (here same machine).

For the script to run, a sshd has to started on the local machine and 
the user name has to be adapted within the script. Could some of you 
please run the script twice (the error only occurs when the files 
already exist on the client side) in order to see if the script also hangs?

Peter


--------------010004010609030402050307
Content-Type: text/plain;
 name="rsync_from_server_v5.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="rsync_from_server_v5.sh"

#!/bin/bash

COMPSERV_USER=peter
COMPSERV_SERVER=localhost
RSYNC_PARAMS="--recursive --progress"

# Create large amount of files on the server
mkdir ~/testdir_clnt
ssh $COMPSERV_USER@$COMPSERV_SERVER 'mkdir -p ~/testdir_srv; for ((i=0;i<300;i++)) ; do dd if=/dev/random of=~/testdir_srv/file${i}.lst bs=1 count=5000; done'
# Sync files to client
rsync  -vvvvvvvvvv  $RSYNC_PARAMS  $COMPSERV_USER@$COMPSERV_SERVER:testdir_srv/*  ~/testdir_clnt/



--------------010004010609030402050307
Content-Type: text/plain; charset=us-ascii

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