X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 16EB33858422 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1633022807; bh=79vGLBOPoXDg1xPDnqkhTF8Q5fvECnuWn1Q2WsR/EJ4=; h=Date:To:Subject:References:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=OT43IpqL37C1PU1Baj0ogIsYbYZAI4K08qZyEn9kzfgiSN+4HlXhWa8tqvfcWttaG D2mKaGjCsWwH3f4tvX7MyrQ5y/AqG87XQPGv4M2KRRoHn6wPMYcEUF4Z2pVILqnyQR YcTRWSenDnbwaC/nBkxUKUmEGrwrOEYzH9V2Me+c= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 64C643857C5B X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1633022703; bh=dUIkax0UZw/z9hKx+T6Y6H7zF35ThlatTvXjp/1KGHL=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=fu+juJQX10r1A/ogbSpz0Ad9VpVlk3c0Sn2zCRTWBM/q1jHDntY1Xk4X/ZGCl4bmghHqBJKYzcrZGiz53eAaA9VdpCvZo9+wSeAWe/onCIPLlfs4i3PEanEBpAVnGe0SaGm35e+y6K+FxKH1/HC/xmEKfXuSbTNJ4yAp8cDInBvZOWhnznikUR03GfATwAeTW8f1lD3bnuQPRpBDq4EVOYF7q6LEXaZsl3H7mTPZKO38MEZMW6cpMPTbiGCENC0DlOz9JD5X2Fxt60kNE4mFG/v8B6g4tdFhfvTCTjeuZlqLV41jl/5hPaZ1Xwxw3L6k8in7TbLxPCpzYZPRmtJNOw== X-YMail-OSG: I4whQaIVM1lQmtNbV.OLxhmdw5QNWAn6pxmJ.vka_6IHuJ_2d9865SAzgtqBF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s 8.KmIGi4YVqsy.RIB3NHKSGzhfaDC0tHLjfJ74qsh_FO36mSMvVijJLChnyPLPbbyx1Yh78UF_Yk 3wfHNdZ1jFkFUoe._hdFodS2_XAQBeLgtIK06SyV8CbqAH6s6rmcfTW0AhdyB6jiAcVNqfEctQlO GERhpv8nzvLy5RI1cy6H.elmTJoEOo785EDGKfw6g82.9Aktc9JnYo5TUYHCKbhHyTUc- X-Sonic-MF: Date: Thu, 30 Sep 2021 17:22:25 +0000 (UTC) To: "cygwin AT cygwin DOT com" Message-ID: <764795149.682120.1633022545890@mail.yahoo.com> Subject: Hanging cygwin processes in Windows Server 2019 MIME-Version: 1.0 References: <764795149 DOT 682120 DOT 1633022545890 DOT ref AT mail DOT yahoo DOT com> X-Mailer: WebService/1.1.19076 YMailNorrin X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, REPTO_QUOTE_YAHOO, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: "chris.hardison--- via Cygwin" Reply-To: "chris DOT hardison AT yahoo DOT com" Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 18UHQmwU011122 My cygwin install looks good and things seem to work perfectly for some time (hours or days), then a cygwin process started by a windows process that is usually a child process of a windows service written in perl will hang and then most all other cygwin processes will hang or take a very long time to return.  The simplest example is a call to \cygwin\bin\ps from powershell. That normally returns with sub-second response time.  Once the problem occurs that call to \cygwin\bin\ps will often take several minutes to return.  I've found that killing all cygwin processes will temporarily resolve the problem. I've read about redirecting NUL to stdin when making the call to cygwin processes from windows and that didn't seem to help. I've tried "set-processmitigation -name \cygwin\bin\ps.exe -disable ForceRelocateImages" with no real benefit. I've also tried "\cygwin\bin\dash -c /bin/rebaseall" on startup before the sshd service starts and that didn't seem to help. Any suggestions on how to prevent this problem will be greatly appreciated. Thanks!chris $ cygcheck -v /usr/bin/perl C:\Windows\Cygwin\bin\perl.exe - os=4.0 img=1.0 sys=4.0   "perl.exe" v0.0 ts=2021-02-06 11:46   C:\Windows\Cygwin\bin\cygperl5_32.dll - os=4.0 img=1.0 sys=4.0     "cygperl5_32.dll" v0.0 ts=2021-02-06 11:44     C:\Windows\Cygwin\bin\cygcrypt-2.dll - os=4.0 img=1.0 sys=4.0       "cygcrypt-2.dll" v0.0 ts=2021-05-20 09:20       C:\Windows\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0         "cygwin1.dll" v0.0 ts=2021-03-29 09:37         C:\Windows\system32\KERNEL32.dll - os=10.0 img=10.0 sys=10.0           "KERNEL32.dll" v0.0           C:\Windows\system32\ntdll.dll - os=10.0 img=10.0 sys=10.0             "ntdll.dll" v0.0 ts=2010-05-08 14:49           C:\Windows\system32\KERNELBASE.dll - os=10.0 img=10.0 sys=10.0             "KERNELBASE.dll" v0.0 ts=1979-12-01 09:56             C:\Windows\system32\ntdll.dll (already done)         C:\Windows\system32\ntdll.dll (already done)       C:\Windows\Cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0         "cyggcc_s-1.dll" v0.0 ts=2020-09-12 12:49         C:\Windows\Cygwin\bin\cygwin1.dll (already done)         C:\Windows\system32\KERNEL32.dll (already done)       C:\Windows\system32\KERNEL32.dll (already done)     C:\Windows\Cygwin\bin\cygwin1.dll (already done)     C:\Windows\Cygwin\bin\cyggcc_s-1.dll (already done)     C:\Windows\system32\KERNEL32.dll (already done)   C:\Windows\Cygwin\bin\cygwin1.dll (already done)   C:\Windows\system32\KERNEL32.dll (already done) $ cygcheck -v /usr/bin/ps C:\Windows\Cygwin\bin\ps.exe - os=4.0 img=1.0 sys=4.0   C:\Windows\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0     "cygwin1.dll" v0.0 ts=2021-03-29 09:37     C:\Windows\system32\KERNEL32.dll - os=10.0 img=10.0 sys=10.0       "KERNEL32.dll" v0.0       C:\Windows\system32\ntdll.dll - os=10.0 img=10.0 sys=10.0         "ntdll.dll" v0.0 ts=2010-05-08 14:49       C:\Windows\system32\KERNELBASE.dll - os=10.0 img=10.0 sys=10.0         "KERNELBASE.dll" v0.0 ts=1979-12-01 09:56         C:\Windows\system32\ntdll.dll (already done)     C:\Windows\system32\ntdll.dll (already done)   C:\Windows\system32\ADVAPI32.dll - os=10.0 img=10.0 sys=10.0     "ADVAPI32.dll" v0.0     C:\Windows\system32\msvcrt.dll - os=10.0 img=10.0 sys=10.0       "msvcrt.dll" v0.0       C:\Windows\system32\ntdll.dll (already done)       C:\Windows\system32\KERNELBASE.dll (already done)     C:\Windows\system32\ntdll.dll (already done)     C:\Windows\system32\KERNELBASE.dll (already done)     C:\Windows\system32\SECHOST.dll - os=10.0 img=10.0 sys=10.0       "SECHOST.dll" v0.0       C:\Windows\system32\ntdll.dll (already done)       C:\Windows\system32\RPCRT4.dll - os=10.0 img=10.0 sys=10.0         "RPCRT4.dll" v0.0         C:\Windows\system32\ntdll.dll (already done)         C:\Windows\system32\SspiCli.dll - os=10.0 img=10.0 sys=10.0           "SspiCli.dll" v0.0 ts=2036-05-08 21:49           C:\Windows\system32\ntdll.dll (already done)           C:\Windows\system32\RPCRT4.dll (recursive)           C:\Windows\system32\CRYPTBASE.dll - os=10.0 img=10.0 sys=10.0             "CRYPTBASE.dll" v0.0             C:\Windows\system32\ntdll.dll (already done)             C:\Windows\system32\bcryptPrimitives.dll - os=10.0 img=10.0 sys=10.0               "bcryptPrimitives.dll" v0.0               C:\Windows\system32\ntdll.dll (already done)         C:\Windows\system32\KERNELBASE.dll (already done)     C:\Windows\system32\KERNEL32.dll (already done)     C:\Windows\system32\RPCRT4.dll (already done)   C:\Windows\system32\KERNEL32.dll (already done)   C:\Windows\system32\ntdll.dll (already done) $ cygcheck -v /usr/bin/ssh C:\Windows\Cygwin\bin\ssh.exe - os=4.0 img=1.0 sys=4.0   C:\Windows\Cygwin\bin\cygcrypto-1.1.dll - os=4.0 img=1.0 sys=4.0     "cygcrypto-1.1.dll" v0.0 ts=2020-04-08 19:02     C:\Windows\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0       "cygwin1.dll" v0.0 ts=2021-03-29 09:37       C:\Windows\system32\KERNEL32.dll - os=10.0 img=10.0 sys=10.0         "KERNEL32.dll" v0.0         C:\Windows\system32\ntdll.dll - os=10.0 img=10.0 sys=10.0           "ntdll.dll" v0.0 ts=2010-05-08 14:49         C:\Windows\system32\KERNELBASE.dll - os=10.0 img=10.0 sys=10.0           "KERNELBASE.dll" v0.0 ts=1979-12-01 09:56           C:\Windows\system32\ntdll.dll (already done)       C:\Windows\system32\ntdll.dll (already done)     C:\Windows\Cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0       "cygz.dll" v0.0 ts=2017-03-03 21:51       C:\Windows\Cygwin\bin\cygwin1.dll (already done)       C:\Windows\Cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0         "cyggcc_s-1.dll" v0.0 ts=2020-09-12 12:49         C:\Windows\Cygwin\bin\cygwin1.dll (already done)         C:\Windows\system32\KERNEL32.dll (already done)       C:\Windows\system32\KERNEL32.dll (already done)     C:\Windows\Cygwin\bin\cyggcc_s-1.dll (already done)     C:\Windows\system32\KERNEL32.dll (already done)   C:\Windows\Cygwin\bin\cygwin1.dll (already done)   C:\Windows\Cygwin\bin\cyggssapi_krb5-2.dll - os=4.0 img=1.0 sys=4.0     "cyggssapi_krb5-2.dll" v0.0 ts=2018-03-16 03:46     C:\Windows\Cygwin\bin\cygk5crypto-3.dll - os=4.0 img=1.0 sys=4.0       "cygk5crypto-3.dll" v0.0 ts=2018-03-16 03:45       C:\Windows\Cygwin\bin\cygkrb5support-0.dll - os=4.0 img=1.0 sys=4.0         "cygkrb5support-0.dll" v0.0 ts=2018-03-16 03:44         C:\Windows\Cygwin\bin\cygwin1.dll (already done)         C:\Windows\Cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0           "cygintl-8.dll" v0.0 ts=2021-07-29 03:43           C:\Windows\Cygwin\bin\cygwin1.dll (already done)           C:\Windows\Cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0             "cygiconv-2.dll" v0.0 ts=2020-07-13 13:57             C:\Windows\Cygwin\bin\cygwin1.dll (already done)             C:\Windows\system32\KERNEL32.dll (already done)           C:\Windows\system32\KERNEL32.dll (already done)         C:\Windows\system32\KERNEL32.dll (already done)       C:\Windows\Cygwin\bin\cygwin1.dll (already done)       C:\Windows\Cygwin\bin\cygintl-8.dll (already done)       C:\Windows\system32\KERNEL32.dll (already done)     C:\Windows\Cygwin\bin\cygkrb5-3.dll - os=4.0 img=1.0 sys=4.0       "cygkrb5-3.dll" v0.0 ts=2018-03-16 03:45       C:\Windows\Cygwin\bin\cygk5crypto-3.dll (already done)       C:\Windows\Cygwin\bin\cygkrb5support-0.dll (already done)       C:\Windows\Cygwin\bin\cygcom_err-2.dll - os=4.0 img=1.0 sys=4.0         "cygcom_err-2.dll" v0.0 ts=2019-01-02 01:21         C:\Windows\Cygwin\bin\cygwin1.dll (already done)         C:\Windows\Cygwin\bin\cyggcc_s-1.dll (already done)         C:\Windows\system32\KERNEL32.dll (already done)       C:\Windows\Cygwin\bin\cygwin1.dll (already done)       C:\Windows\Cygwin\bin\cygintl-8.dll (already done)       C:\Windows\Cygwin\bin\cyggcc_s-1.dll (already done)       C:\Windows\system32\KERNEL32.dll (already done)     C:\Windows\Cygwin\bin\cygkrb5support-0.dll (already done)     C:\Windows\Cygwin\bin\cygcom_err-2.dll (already done)     C:\Windows\Cygwin\bin\cygwin1.dll (already done)     C:\Windows\Cygwin\bin\cygintl-8.dll (already done)     C:\Windows\system32\KERNEL32.dll (already done)   C:\Windows\Cygwin\bin\cygz.dll (already done)   C:\Windows\Cygwin\bin\cyggcc_s-1.dll (already done)   C:\Windows\system32\KERNEL32.dll (already done) -- 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