delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/06/05:12:23

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54945399F437
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1628241141;
bh=u4SS/QTNiQnlYy7mcqzp7HERz7KSiLAJVOg9q3OxYxo=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=jACn4MPbX/sfcPkOUseiZMJaWyv6X5CeXQOSm3n10RZfdDP6aurtpvMHisne50uOX
W2Qg0aI+BI3oIzVqF71pon6lgWcnIAegk8gk9DjMP6NRpmiQ+wQP+a01cdIENzWJZ2
mPYaY19MdwjvG51id9hNDdlnH9QOEXSD5Psn003E=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 134263857420
Date: Fri, 6 Aug 2021 11:11:05 +0200
To: cygwin AT cygwin DOT com
Subject: Re: SSHD causes 100% CPU load
Message-ID: <YQz8qckm2wWhGzKK@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <145999495 DOT 20210426124252 AT cfos DOT de>
<1342428656 DOT 20210428072302 AT yandex DOT ru>
<20210805191242 DOT b29a3904cbc4d082bdc3dd37 AT nifty DOT ne DOT jp>
<YQv+rEqA8WiWdkVA AT calimero DOT vinschen DOT de>
<20210806014331 DOT 899fb21f181e664663c328ae AT nifty DOT ne DOT jp>
<20210806105507 DOT 47c573639b0762ba91828023 AT nifty DOT ne DOT jp>
MIME-Version: 1.0
In-Reply-To: <20210806105507.47c573639b0762ba91828023@nifty.ne.jp>
X-Provags-ID: V03:K1:KcSMwucTD+YixfVr7PWw+l4QeGN8QVcH1FYmibi/HLn+cMmHRzp
Hh9RiQpzylYXjjimdWER/79pGqL0GWfG7l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kJQY3BVSPVzXF3iurw==
X-Spam-Status: No, score=-99.9 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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>

On Aug  6 10:55, Takashi Yano via Cygwin wrote:
> Hi Corinna,
> 
> On Fri, 6 Aug 2021 01:43:31 +0900
> Takashi Yano wrote:
> > Hi Corinna,
> > 
> > On Thu, 5 Aug 2021 17:07:24 +0200
> > Corinna Vinschen wrote:
> > > Could you perhaps bisect the issue on your machine?
> > 
> > In my environment, this does not happen with 8.4p1-1 and 8.4p1-2.
> > However it happens with 8.5p1-1.
> > [...]
> I looked into the openssh code and might find a calprit.
> I guess the following patch solves the issue.
> 
> --- serverloop.c.orig	2021-03-02 19:31:47.000000000 +0900
> +++ serverloop.c	2021-08-06 10:41:55.439357200 +0900
> @@ -333,7 +333,7 @@
>  			return -1;
>  		} else if (len == -1) {
>  			if (errno == EINTR || errno == EAGAIN ||
> -			    errno != EWOULDBLOCK)
> +			    errno == EWOULDBLOCK)
>  				return 0;
>  			verbose("Read error from remote host %s port %d: %s",
>  			    ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),
> 
> 
> This seems to be a upstream bug which has been already fixed.
> 
> Please refer to:
> https://github.com/openssh/openssh-portable/commit/2dc328023f60212cd29504fc05d849133ae47355

Gosh, looks like I totally missed the 8.6p1 release!

I'll build and upload 8.6p1 ASAP.


Thanks,
Corinna

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