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

#!/bin/bash

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

# Create large amount of files on the server
mkdir ~/testdir_clnt
ssh [EMAIL PROTECTED] '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  [EMAIL PROTECTED]:testdir_srv/*  
~/testdir_clnt/


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

Reply via email to