This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Rsync over ssh hangs on win2k


Please CC any responses to me, I'm not subscribed to the list.   When I try
to rsync a directory structure from a windows 2000 machine running cygwin to
my linux system (running it from the linux side) the transfers always hang.
Everything works beautifully to and from linux.  This isn't the bug where
rsync hangs after it's done, I'll just work around that.   (I've seen it
when I initiate a rsync from the windows box)

This happens on every one of half a dozen windows machines I've tried it on,
I'm surprised more people havn't seen it. 

I get no error messages, but rsync's processor utilization drops to zero on
both sides.  

I run the following command from my linux box (raid) to the windows box
(mail.mhdealer.com)

rsync -avzx --ignore-errors --delete-excluded --delete --progress
--exclude-from=system/excludes -e ssh
Administrator@205.244.224.130:/cygdrive/d profit/2002-09-24_11+51/

The following is all I see in a TCP dump when things go wrong:

15:10:42.248139 raid.34418 > mail.mhdealer.com.ssh: . 37767:39227(1460) ack
1914864 win 62780 (DF) [tos 0x8]
15:10:42.248224 raid.34418 > mail.mhdealer.com.ssh: . 39227:40687(1460) ack
1914864 win 62780 (DF) [tos 0x8]
15:10:42.271624 mail.mhdealer.com.ssh > raid.34418: . ack 40687 win 556 (DF)
15:10:42.559003 raid.34418 > mail.mhdealer.com.ssh: P 40687:41243(556) ack
1914864 win 62780 (DF) [tos 0x8]
15:10:42.740027 mail.mhdealer.com.ssh > raid.34418: . ack 41243 win 0 (DF)
15:10:43.069022 raid.34418 > mail.mhdealer.com.ssh: . ack 1914864 win 62780
(DF) [tos 0x8]
15:10:43.084147 mail.mhdealer.com.ssh > raid.34418: . ack 41243 win 0 (DF)
15:10:43.739017 raid.34418 > mail.mhdealer.com.ssh: . ack 1914864 win 62780
(DF) [tos 0x8]
15:10:43.744416 mail.mhdealer.com.ssh > raid.34418: . ack 41243 win 0 (DF)

These lines are then repeated forever as far as I can tell: 
15:10:43.739017 raid.34418 > mail.mhdealer.com.ssh: . ack 1914864 win 62780
(DF) [tos 0x8]
15:10:43.744416 mail.mhdealer.com.ssh > raid.34418: . ack 41243 win 0 (DF)

My rsync version is 2.5.5.  

Doesn't take it long at all to hang, and it happens every time.

I've seen a couple people asking about this in the list archives but no
answers (They appear to have been drowned out by the people with the hang
after completion bug)

If anybody has any idea's on where to start, please e-mail me back.  This is
for a project that's very important to me, so I'll be willing to do whatever
is necessary to help you debug.

	Thankyou
	David Hinkle



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]