delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/01/10:44:48

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:mime-version:message-id:from:to:subject
:content-type:date:content-transfer-encoding; q=dns; s=default; b=
s7oY7DkG8sNwnXbeAeIbpKf47jrsgWfSRhpnkAAkUigcxq3rCW1mdzzILmiI5ZrO
hOOz2MomHP2upfDbpWXINcijus0BJ5RX1NsZ4MUIQawS5SWX6AwTvRMlazMbiYuR
a/VpsKOONfUW1hMSPVcEU8L7u7lzZlnEd4WQc6ku7Kk=
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:mime-version:message-id:from:to:subject
:content-type:date:content-transfer-encoding; s=default; bh=R7uL
C1uCD4GOtxOrQer4HI228T4=; b=LsaOIbee5NIvf6rA61X+CdwnxY7MGFhlk4cs
ONzOwVf/qNPT4Hyl7Oe8/+gikgDYD4J8BuNfAbhtluh6LFDW5sJMnOnhsS7Wccrl
XgfaFJJQdVZsIBjLJnbZQR6P97dflwrSmTE7wDp1XEiA0TnaG0Rr5RXXwiXLEGKl
fh2T8NY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mout.gmx.net
MIME-Version: 1.0
Message-ID: <trinity-219de481-47b8-4513-b3b7-3c92d7c65c89-1435761863070@msvc-mesg-gmx008>
From: Theodor DOT Kazhan AT gmx DOT de
To: cygwin AT cygwin DOT com
Subject: Re: Re: cygwin on W7: stalled scp (openssh-6.8p1), lost ssh-scp-pipe data
Date: Wed, 1 Jul 2015 16:44:23 +0200
X-UI-Out-Filterresults: notjunk:1;V01:K0:cUezHS5t7yc=:wHW36sT5+csmEm29J3dCoK 1nHf4dN9zqe40pUehUlbMTfJr/FmpYiCflDQm93go5hsaJ4gIFJlBxeXtU89oseam738f5xRs Hiok7z7jozDESlI1uWg5XkW9bSoipwj1fH3QzDj6JagrTYVy/lXAP/Oe3dGqoD6JQs534G1xN j3/m26GQnHdjN10a9/jtgHW1msoz2qpMV9AEmcP1CK7HTXAy3jlCgjRsl7kQZ45pl9dJsZDqT pOBrjWWF6MvWszzlGbFG3Kg3LJaIlEzp4K3wNbtSCmEgwCHGeASTg9yESYE+biF/x5OcwQGm2 DJj7R1CPQZJb+HGF7rswLnwsrfI2NX5P95OPu0KCzwx6blsotCFoQ/nQbzlB4KeXGQs95gppg mEgpbwowubFrgVccRQeD+63y4CpCIB0CLmxobSPPTKtqJiXltLVFJJK4dulSo4M3+CHYY2Axb nzJHrce+mRfi1wTSz48mciB8GZ7uYGgHrI3hoqS3Tsk+pdOJRsuU
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t61Eii71010296

continued in: https://cygwin.com/ml/cygwin/2015-07/msg00009.html

-----Ursprüngliche Nachricht-----
Gesendet: Freitag, 12 Juni 2015 um 15:14:04 Uhr
Von: "Marco Atzeri" marco dot atzeri at gmail dot com
An: cygwin at cygwin dot com
Betreff: Re: cygwin on W7: stalled scp (openssh-6.8p1), lost ssh-scp-pipe data


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

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


- Raw text -


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