From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by sourceware.org (Postfix) with ESMTPS id 846BF3851C1E for ; Thu, 5 Aug 2021 10:13:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 846BF3851C1E Received: from Express5800-S70 (z221123.dynamic.ppp.asahi-net.or.jp [110.4.221.123]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 175ACeL0007811 for ; Thu, 5 Aug 2021 19:12:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 175ACeL0007811 X-Nifty-SrcIP: [110.4.221.123] Date: Thu, 5 Aug 2021 19:12:42 +0900 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: SSHD causes 100% CPU load Message-Id: <20210805191242.b29a3904cbc4d082bdc3dd37@nifty.ne.jp> In-Reply-To: <1342428656.20210428072302@yandex.ru> References: <145999495.20210426124252@cfos.de> <1342428656.20210428072302@yandex.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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@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, 05 Aug 2021 10:13:09 -0000 Hi everyone, On Wed, 28 Apr 2021 07:23:02 +0300 Andrey Repin wrote: > Greetings, Christoph Lüders! > > > I run cygwin 32-bit on Windows 10 Pro Build 19042. Cygwin is 3.2.0-1, > > openssh is 8.5p1-1. > > > I use sshd to access the machine from afar. I notice (often multiple) > > processes of sshd.exe with 100% CPU load. > > https://cygwin.com/pipermail/cygwin/2021-April/248299.html > https://cygwin.com/pipermail/cygwin/2021-April/248309.html > > > A stack shown with procexp has function names like > > "cygwin1.dll!acl_get_perm" and "cygwin1.dll!_assert". > > > Can anyone give me some advice how to proceed further? I have updated > > to the latest cygwin multiple times; reboot doesn't help either. I have finally found how to reproduce this problem in my environment. The reproduce steps are as follows. 1. Install cygwin sshd as a service and start it. 2. Connect to sshd by 'ssh user@localhost ls' using **Windows** ssh.exe. 3. Check if sshd remains with high CPU load. I have confirmed that this issue happens in a few my PCs. Corinna, could you please have a look? -- Takashi Yano