delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/14/20:00:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41BF8C7F.9010500@kleckner.net>
Date: Tue, 14 Dec 2004 16:59:43 -0800
From: Jim Kleckner <jek-cygwin1 AT kleckner DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Limitation in SCP?
References: <20041213143745 DOT 28b476b5 AT boing DOT blorch DOT org> <20041214113709 DOT GH22056 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20041214113709.GH22056@cygbert.vinschen.de>
X-IsSubscribed: yes

Corinna Vinschen wrote:

> On Dec 13 14:37, Bob Smart wrote:
> 
>> I've discovered that in some circumstances, scp seems to get tired
>> early when transferring a largish file (around 200MB).  It copies
>> diligently for the first 20-40MB (exactly where it stops varies
>> from run to run), then CPU usage drops to zero, the file stops
>> growing on the receiving end, there's no apparent network traffic,
>> and everything just pretty much halts.  A ps shows the scp task
>> running, but not doing anything.
>> 
>> I've only seen this when copying between two W2K machines (both
>> Cygwin, both using the Cygwin SSH package, both of pretty recent
>> vintage with DLL 1.5.11).  I did my development testing between
>> Linux and NT, and I never saw this behavior in that environment.
>> It always fails with the W2K machines.
>> 
>> I also never see this happen with tar.  If I do a tar-to-tar pipe
>> via SSH, everything works even in the W2K-to-W2K environment.
>> However, I'd like to understand why I can't use scp for this.
> 
> 
> Hmm, that doesn't happen for me.  I tried to copy around a 200 Megs
> file between WinXP and XP<->Linux multiple times and don't see any
> hang.  Did you try with Cygwin 1.5.12, too?

Is this possibly related to the pipe hang issue that some
apps have with ssh such as mentioned here and that
Bob Byrnes is looking at?:
  http://sources.redhat.com/ml/cygwin/2004-11/msg01162.html

Bob, are you "pushing" or "pulling" the files?  It has
been noted that rsync works to push files to windows
but hangs in a similar way when pulling files from a
remote machine.  Again, it may or may not be related.

Jim

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019