delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/06/23/11:30:00

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 38906385842A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1687534150;
bh=xXQ3+QBZKDpn6uag2vOKxjXtRBl5pZ8bmOjayxTdC0k=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=wKX4j4OFAz1X0B8rniNBZ1a9LG8ovd/+wJPP6O4oT/1spmFbfDjp4GJEb7mipe5pa
IrhtU24AG1gxGzz0eh5ZyBlMlk5dj70a1bM9S8+njirdfyfmofj/DIyE4cQhLKcrod
HztH+HC3wVX42xw5GoucfAak3xAnhVTwwaP4tK4A=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 193553858CD1
X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=6495ba35
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=IkcTkHD0fZMA:10 a=X8sXHaD70grHU4viGrUA:9 a=QEXdDO2ut3YA:10
Message-ID: <947c6b09-c2c0-03db-a4ac-769c4f1b3783@Shaw.ca>
Date: Fri, 23 Jun 2023 09:28:52 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Subject: Re: scp and ssh 'cat' stalls at 64k bytes
To: cygwin AT cygwin DOT com
References: <1b9482bd-2119-732f-cc49-a3930bd3328d AT house DOT org>
Organization: Inglis
In-Reply-To: <1b9482bd-2119-732f-cc49-a3930bd3328d@house.org>
X-CMAE-Envelope: MS4xfHAZq/NL5qTJz2tHJDPSezrOpDVixxt8Rwc3dtTtNNnrZ8D/QYSiHuajYFti6i6zH2d6AC6s8mo/+ggrhLH6od8JGMt5fTivVdcwgPUex6xXRALaUBWJ
p/dA6Q8Nx/cNAHoqC523wGuSXmozJOmZavSPUPJC9Ds5nPw3meaMCqIimd3ZDpB1xC1NPLsEMaAdLK5i6MlKxC3NFWy1TGMIeoU=
X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>, Chris Roehrig <croehrig AT house DOT org>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 35NFTa1d009141

On 2023-06-23 00:26, Chris Roehrig via Cygwin wrote:
> I've upgraded cygwin recently (from a much older version) and am encountering a 
> new problem on all my Win10/WIn11 machines.
> 
> With openssh and pv installed on cygwin (3.4.7-1):
> 
> dd if=/dev/zero bs=1 count=65536 | ssh localhost 'cat > /dev/null'    # works
> dd if=/dev/zero bs=1 count=65537 | ssh localhost 'cat > /dev/null'    # stalls 
> (and anything larger)
> dd if=/dev/zero bs=1 count=65537 | ssh localhost 'pv > /dev/null'    # replace 
> 'cat' with 'pv' and it works
> 
> This happens with or without Windows Firewall enabled, with any input > 64k, and 
> also remotely from Linux.
> It also seems to affect scp to cygwin which stalls if the file is >= 64k

In case equivalent Windows services are running, I check for, shut down, and 
disable the following Windows services I have seen, or seen warnings about, 
before trying to start Cygwin services:

	ssh ssh-agent sshbroker sshproxy sshd sshdbroker sshdproxy

Do you take similar precautions on the Windows systems with issues?

Please show at least the output of `uname -srvmo`, and if possible provide a 
text attachment of the output log from running `cygcheck -hrsv > cygcheck.out`, 
as suggested under the Problem reports link below.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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