From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by sourceware.org (Postfix) with ESMTPS id 605E83857431 for ; Thu, 20 May 2021 20:35:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 605E83857431 Received: from myt6-d4eda2ca0046.qloud-c.yandex.net (myt6-d4eda2ca0046.qloud-c.yandex.net [IPv6:2a02:6b8:c12:4e0f:0:640:d4ed:a2ca]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 7A88018C073C; Thu, 20 May 2021 23:35:01 +0300 (MSK) Received: from myt5-ca5ec8faf378.qloud-c.yandex.net (myt5-ca5ec8faf378.qloud-c.yandex.net [2a02:6b8:c12:2514:0:640:ca5e:c8fa]) by myt6-d4eda2ca0046.qloud-c.yandex.net (mxback/Yandex) with ESMTP id BYNbQaaQQj-Z1JqIiHs; Thu, 20 May 2021 23:35:01 +0300 Received: by myt5-ca5ec8faf378.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id vDTY4iCdLR-Z0Luw6JD; Thu, 20 May 2021 23:35:00 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 20 May 2021 20:33:04 -0000 Date: Thu, 20 May 2021 23:33:04 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <18110643390.20210520233304@yandex.ru> To: "Wells, Roger K." , cygwin@cygwin.com Subject: Re: EXTERNAL: Re: sshd high cpu load In-Reply-To: <42988d13958e4b298f649190c800bcf8@leidos.com> References: <7bd9875a-691e-95fe-77ea-4c8ccd98a46d@gmail.com> <42988d13958e4b298f649190c800bcf8@leidos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2021 20:35:05 -0000 Greetings, Wells, Roger K.! >> On 5/19/2021 12:48 AM, A. Doggy wrote: >>> >>> >>> I am running cygwin openssh as a windows service. I have been doing >>> so for many years with out issue. Recently, I have been running into >>> an issue where it maxes out my cpu on any version newer than 8.4p1-1. >>> The solution is to downgrade to 8.4p1-1. My server machine is a dell >>> t330 running windows 10. I am not a business despite using business >>> grade hardware.I have tried both 20h2 and 21h1 but no luck. There are >>> no users signed in when the issues occur and occurs within minutes of >>> booting up. The only change from the default config is I have it >>> running on a nonstandard port. Any advice is welcome as I really >>> would like to upgrade to a newer version. Thanks > I noticed your initial contact and tried to duplicate what you observed > to no avail. https://cygwin.com/pipermail/cygwin/2021-April/248299.html > I set up cygwin openssh as a windows service as you described and also > have been doing it this way for many years. > sshd.exe doesn't show any cpu load on task manager even after days (yes > it still works when I log in from another machine) > My system is a Lenovo Thinkpad-x240 running updated W10. Cygwin is at > 3.2.0(0.340/5/3) > and ssh is at OpenSSH_8.5p1, OpenSSL 1.1.1f 31 Mar 2020. > Let me know if you would like me to try something else. Connect from remote machine to the usual shell prompt and force kill remote ssh process. The hung SSH session will cause full core CPU load. -- With best regards, Andrey Repin Thursday, May 20, 2021 23:31:39 Sorry for my terrible english...