public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: SSHD causes 100% CPU load
Date: Fri, 6 Aug 2021 15:59:01 +0200	[thread overview]
Message-ID: <YQ1AJTR2dESNEqF8@calimero.vinschen.de> (raw)
In-Reply-To: <20210806201403.cbd0dcfb64bea6fe7712f813@nifty.ne.jp>

On Aug  6 20:14, Takashi Yano via Cygwin wrote:
> On Fri, 6 Aug 2021 11:11:05 +0200
> Corinna Vinschen wrote:
> > 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.
> 
> I have confirmed that the issue has been fixed in 8.6p1-1.

Great, thanks for testing!


Corinna

  reply	other threads:[~2021-08-06 13:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 10:42 Christoph Lüders
2021-04-28  4:23 ` Andrey Repin
2021-04-28  7:10   ` Christoph Lüders
2021-05-04 15:14     ` Andrey Repin
2021-05-04 21:56       ` Brian Inglis
2021-08-05 10:12   ` Takashi Yano
2021-08-05 15:07     ` Corinna Vinschen
2021-08-05 16:43       ` Takashi Yano
2021-08-06  1:55         ` Takashi Yano
2021-08-06  9:11           ` Corinna Vinschen
2021-08-06 11:14             ` Takashi Yano
2021-08-06 13:59               ` Corinna Vinschen [this message]
2021-08-06 11:30         ` Takashi Yano
2021-08-06 12:35           ` Takashi Yano
2021-08-06 13:57             ` Corinna Vinschen
2021-08-06 14:16               ` ASSI
2021-08-06 14:27                 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YQ1AJTR2dESNEqF8@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).