From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15733 invoked by alias); 15 Dec 2004 01:00:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15657 invoked from network); 15 Dec 2004 00:59:56 -0000 Received: from unknown (HELO www.kleckner.net) (66.93.166.13) by sourceware.org with SMTP; 15 Dec 2004 00:59:56 -0000 Received: from [192.168.200.103] (DHCP-103.onemail.com [192.168.200.103] (may be forged)) by www.kleckner.net (8.11.6/8.11.6) with ESMTP id iBF0xsP04783 for ; Tue, 14 Dec 2004 16:59:54 -0800 Message-ID: <41BF8C7F.9010500@kleckner.net> Date: Wed, 15 Dec 2004 01:00:00 -0000 From: Jim Kleckner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Limitation in SCP? References: <20041213143745.28b476b5@boing.blorch.org> <20041214113709.GH22056@cygbert.vinschen.de> In-Reply-To: <20041214113709.GH22056@cygbert.vinschen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2004-12/txt/msg00514.txt.bz2 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/