Mostly reproducible rsync hangs

Philippe Torche philippe.torche@jle.ch
Thu Aug 21 08:51:00 GMT 2003


I've discovered approximately the same problem, and with scp also.
Sometimes my transfert is stopped and stay there until I kill the server
or the client. But I've not certified that is then the file is big.
Sometimes I've arrived to freeze the transfert simply by typing some
caracters when the transfert is in progress.
My problem is the same with scp, then why not a ssh problem ?

Configuration:
  rsync client : 
    - rsync 2.5.6 (prot 26) on cygwin 1.3.22-1
    - Windows XP english SP1
    - through ssh
  rsync server :
    - rsync 2.5.6 (prot 26) on cygwin 1.3.22-1
    - Windows XP english SP1
    - sshd version OpenSSH_3.6.1p1 server from cygwin

Thanks, Philippe.

-----Message d'origine-----
De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] De la part
de Patrick J. LoPresti Envoyé : mercredi, 20. août 2003 23:47 À :
cygwin@cygwin.com Objet : Mostly reproducible rsync hangs


I am having a problem with Cygwin and rsync.

I have reproduced this on multiple systems, all SMP boxes running
Windows XP, and on multiple versions of Cygwin (including DLL 1.3.22 and
DLL 1.5.2).

To reproduce, I just configure sshd on a machine (call it
"cygwin-host") and run the following command from any RH9 Linux
system:

    rm -rf /tmp/usr
    rsync -av -e ssh cygwin-host:/usr /tmp

Almost always, the transfer hangs after a few megabytes have been
transferred.  But it does not hang in exactly the same place. According
to "ps", both the rsync and sshd process on cygwin-host are stuck in "O"
state, and they stay there until they are killed.

This happens for any large rsync from cygwin-host to the Linux machine,
provided I initiate the transfer from the Linux machine.  If I initiate
an rsync from the Cygwin host (in either direction), or if I push a
large tree from the Linux host to the Cygwin host, it always works, even
for multi-gigabyte transfers.

I will attempt to debug this myself, but I am curious whether others are
able to reproduce it.  Note that I am not sure whether Windows XP is
relevant, but I am pretty sure that SMP is.

Thanks!

 - Pat

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