X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=pBJlAsAjOVx8HpS3eu0f+YwccX81CljW880DeBKZr3I yquvJiy9ysh0VqYR3YIiZ5IUEIz3me87ic5kYbzoh2xAWufRx43e9MnSUeI08N/W nz6+jkEv9ASJVLVL/hpryySRryZMZF8YrdySRfFPcFcrFqzD7QPvQUQ9FExL6Ngc = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=rUkiJLtWTfr/9oh9zggCbGqmY44=; b=tu5oD4A5BFVrTlbMb 57EjeyKiIjjeA5VJ7x9t3Fq8QLEz8jVU8TJtQ5bUy3gZw86v5EkKHiunhsKICA6X MpE1LnObPz7RlsvXp3ktX8vUrgooX+V4+4Rb4TcyzN/0oSnJaukI2T7sJ4DrzCz2 Ay/EBHs2Pn21lgSNmYgL5Wakd4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f48.google.com X-Received: by 10.194.134.74 with SMTP id pi10mr2692285wjb.99.1434114855955; Fri, 12 Jun 2015 06:14:15 -0700 (PDT) Message-ID: <557ADB1C.2090207@gmail.com> Date: Fri, 12 Jun 2015 15:14:04 +0200 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygwin on W7: stalled scp (openssh-6.8p1), lost ssh-scp-pipe data References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 6/12/2015 2:59 PM, Theodor DOT Kazhan AT gmx DOT de wrote: > Hi Corinna, all, > > in case someone is still as curious about it as I am, it took nearly one week and 3433 attempts: > > $ while true; do DATE=`date +%Y%m%d_%H%M%S`; echo -n "started: $DATE"; scp -v -C -o BatchMode=yes tester AT 10 DOT IP2 DOT IP3 DOT IP4:"logDownload_m/TEST.txt" . > scp_$DATE.txt 2>&1; echo " - finished: `date +%Y%m%d_%H%M%S`"; rm -v `ls -1 scp_2015* | head -n -3`; sleep 5; done > started: 20150605_170918 - finished: 20150605_171220 > „scp_20150603_182927.txt“ entfernt > started: 20150605_171225 - finished: 20150605_171531 > „scp_20150603_183041.txt“ entfernt > started: 20150605_171536 - finished: 20150605_171842 > „scp_20150603_183156.txt“ entfernt > . . . > started: 20150612_113735 - finished: 20150612_113845 > „scp_20150612_113347.txt“ entfernt > started: 20150612_113850 - finished: 20150612_114003 > „scp_20150612_113502.txt“ entfernt > started: 20150612_114009 <== this ssh-download is stalled > > ... to reproduce this issue one more time on my 2nd env (cygcheck attached to my previous email dated 05. June 2016, 17:00). This time, a 32k buffer (the 16k-blocks B003363 and B003364) is lost: > > $ sdiff -stw40 <(cat TEST.txt | sed -re "s/(B0.....-N001024-)/\1\n/g" | cut -d- -f-2) <(seq -w 1 1 94796 | sed -re "s/.*/B0&-N000001/g") > . > B003363-N000001 > . > B003364-N000001 > .B094793-N000001 < > .B094794-N000001 < > > > Any advice is still highly appreciated, e.g. on howto debug into Cygwin/Win I/O-APIs, read/write functions, pipe implementation... For much more details, please refer to my previous emails. > > > Thanks and BR, > T. > Hi Theodor, Question: last cygwin 2.0.4 or previous version ? Maybe is no relevant for your case but there were some fixes In theory during tests a 64K buffer should be faster Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple