X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15BB4385843A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1694208655; bh=oDqjv0pfJ+u3wjONam/02X9rWm8heg0xtqtWGaGxTfQ=; h=To:CC:Subject:Date:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=mquwV5vJA5PQGrsmc4FsVpXxagvq0jHLrWAa8TV3DnWFfQoZ+Hod/KgWB5mtdJbtw 2+Obo9tPvMvDGy3G8mTnNUeIggNbE12O13pJy+CgBT+5bml+AvTlmhBxeF4WmFLEsT aJLzrprddtRT7e8M1LAJ52bvDnyl9pjul22PbJWQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DC9243858D1E ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M+J+RfGXVg986xh6cjvPvxkUuDXKqkoQ+vYFLN+w2O8Fv5qEO7YJX2f8TMhzptB/tvP4rfLBT6F7dfCybiDSOy5nifoqYNvJNX1YXUZX+aDCzqe7Go4ueOXUpGOyL35hLs1jaqSpJzlAmoGyt8o7SYVtP9IzGKazjH6Yu/I+jKjISQra1PoK1bIq5F2JnlGfxh/gEkrZlcJTKRcjwds3JWv7Y8nkMzhQlrfcRr8CVnxX/1OGoIyTjGnC5DgneqnhGpU8mnNQ10OSMEds5bh+qq8ZzPdZYBOUB3FeSpjgBh42lYr1P4GPsbeQ+FI6uf74DAbcY0TOHY76Es7WovdqLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CgKVrWKcozo3MqO8kg6+jAcFeRHwDpCGtcUkcXEZyws=; b=TAYYbCRX97s0YRiKmJEXzpA/1GqP2KPjcTpReGiBLpmIkaxmOiNhoRJJWYqtwGDzMNgLprNEa/3fYswLEtpA2Z2C+/85ex08JLbBdPBnyuFI1ALCM+Xdkpn5wkh+Gy9FeADfj/L/ZVmEXJBVZBGvMoA1Rl93Z86Hl3FKi43O2m3x15PF9+zwmgpkKiy9rLf4zgMYNdCqGVYGj6IavQcIMGAc9ZfM9dPxty5lQcUjXafj5GT3FU6j6zHzxSQTe0gyr+qRCmE/vw1i2a7COVll28xE+PZ0J0cVidEelDPA1wY3LVxG7mWX0KOH/23VGjaWvAaOVZMJCxgcb2ZG7JatCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bryanhealth.org; dmarc=pass action=none header.from=bryanhealth.org; dkim=pass header.d=bryanhealth.org; arc=none To: Jose Isaias Cabrera CC: "cygwin AT cygwin DOT com" Subject: RE: EXTERNAL SENDER: RE: Fork errors Thread-Topic: EXTERNAL SENDER: RE: Fork errors Thread-Index: Adng8mjswrahKs4JQcWqkRonWj3CGwAElQnQAGVicBA= Date: Fri, 8 Sep 2023 21:30:08 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR16MB4782:EE_|LV8PR16MB5935:EE_ x-ms-office365-filtering-correlation-id: 35336f4b-44d1-4dfc-98d9-08dbb0b2c667 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6GLBWGlAMlBksiOYb9H6yw+Fg32C1mhx9uRMFDWNaYyOyYopR3ReGKpABHv+24prLRzQpMJSGdjYpZzC/rOTZ40Fjf13Ul7b90UmJYOlZIoEj1kbjwZesh4WwCBw9YA5bdNVCJdBEB8F3FWOwVcsRueVMDRcHhAxd1y24l3Q6W0JncWukGZUNRQRedM3Y29U2zh8CQImjgSIffkShxWeb5AG+yfTvRyywO5kMIQmitJXeHqwhxvyvWpkqGAOYHZh/F99niQw+Ad0P+90Oy90e1hXiEf8VubU5aXqGViGC2F/a1TkJ8aySl9lV5ceF5qEaFBh1OVjGFrgcSKqIKyAAhzcwkFzjb0k/qTsyQORsOnEXZG0YsTaX6OqN6gMvaYpR1HZe/x3o/IU5Z5GgiSTFVWGlmJVlTf3uQudf2oORtp/KRHgGDvut7/SU4rWyIpaVSxWxw4SSwM+XFxvkIixD1XY77E/9sa5DJIwOfitqeTbdkgg21pBSCszzbBNCUDh/n4QnLNDBSe377HYnf2uc03TDc9qxhOy3E0KrJl2FfZWBY1v7jPMl+cSFeuP4UUkHcWmTeByPIAroGlNrfvR/Mnow+pxipVYN2f5Hb1DXQI= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR16MB4782.namprd16.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39850400004)(366004)(346002)(396003)(1800799009)(451199024)(186009)(41300700001)(53546011)(966005)(52536014)(8936002)(66476007)(316002)(66946007)(76116006)(66446008)(8676002)(4326008)(66556008)(6916009)(55016003)(7696005)(64756008)(6506007)(9686003)(478600001)(5660300002)(26005)(83380400001)(71200400001)(122000001)(2906002)(86362001)(38070700005)(33656002)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?clR3ejI5TEZDNWtCeW53MzlJSXZadFNjdkZrOXhTcGdxZGtYZGRzOWFYZEcz?= =?utf-8?B?N3lnQUw1R0hzY1BMbVgrbmtNZUdPU25heStOY2tTV3pRd2pQR0E3aHVHeEhN?= =?utf-8?B?dkQrbGdtVS9xMjdQVEY1VEF1S2ZESDhsSkdUajd5V0dyamQvakI3TzhKczgr?= =?utf-8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dyMUtqazNBS2haU0p3QzEwVmNYYitmc3FFWm9J?= =?utf-8?B?U1Q3bWl1QU1GNVVFdXgrNWg0NEkxeDZ4NXk2Q3U3eERiS2ZZR1R5WDNDQmN2?= =?utf-8?B?TVo4V2hsenFOWEhXb1JWbVMxaUkyMU5XWVVBSTJzRE9DS0hEWHo4a3lhekoz?= =?utf-8?Q?+jH1KTq/5uq8fjehqlpAl6CQB?= MIME-Version: 1.0 X-OriginatorOrg: bryanhealth.org X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR16MB4782.namprd16.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35336f4b-44d1-4dfc-98d9-08dbb0b2c667 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2023 21:30:08.2037 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 09b11d70-e37c-4120-b532-c13f0e4aa18f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: khAep2hacQWJs+gES+TORBXdmRmMZpSNxn5xMyLIJ8dIF5DsoC6HhrcRVUCvfL8kflFki4uV9rMuBVxsHnne6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR16MB5935 X-Proofpoint-GUID: sEF_eQbvnhz22Fyot8DZ1CncuQp5wFqB X-Proofpoint-ORIG-GUID: sEF_eQbvnhz22Fyot8DZ1CncuQp5wFqB X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 phishscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=999 clxscore=1011 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2309080195 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, LIKELY_SPAM_FROM, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Dale Lobb via Cygwin Reply-To: Dale Lobb Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" > -----Original Message----- > From: Jose Isaias Cabrera > Sent: Wednesday, September 6, 2023 4:01 PM > To: Dale Lobb ; tryandbuy via Cygwin > > Subject: EXTERNAL SENDER: RE: Fork errors > > On September 6, 2023 2:52 PM, Dale Lobb expressed: > > > > Since upgrading to the latest version of Cygwin a few weeks ago on a > > server I manage, I've been experiencing an issue with fork errors. > > The Cygwin installation had not been updated for almost a year > > before that. > > > > The issue happens every time a script is invoked that purges files > > from some temporary directories, but never in the same place in the > > script. The script uses multiple calls to find -exec to remove > > files over 10 days old from the directories. Here is a typical > > error. Sometime the issue will assert after just a few tens of > > files deleted, sometimes after hundreds or thousands of files have > > been deleted: > > > > removed '/cygdrive/d/.../obfuscated.datedata.txt' > > 1 [main] find 20066 dofork: child -1 - forked process 4068 died > > unexpectedly, retry 0, exit code 0xC0000142, errno 11 > > find: cannot fork: Resource temporarily unavailable > > > > It also happens randomly at other times. I've seen the bash shell > > itself fail on the invocation of a mintty. I've seen it happen on > > all sorts of interactive commands entered from bash. > > > > Today, as a test, I updated all the installed Cygwin components. > > One of the post installation scripts failed, so I re-exec'd it: > > > > $ ./postinstall/0p_update-info-dir.dash > > Rebuilding info directory > > 2 [main] dash 2059 dofork: child -1 - forked process 7676 died > > unexpectedly, retry 0, exit code 0xC0000142, errno 11 > > ./postinstall/0p_update-info-dir.dash: 22: Cannot fork > > > > A second re-exec then worked fine. > > > > I've tried reinstalling all the components, and I've tried > > rebaseall. > > > > Is there anything else I can try, or troubleshooting steps to > > take? > > > > Best Regards, > > Take a look at this: > > https://stackoverflow.com/questions/36399041/cygwin-update-cause-error-could-not-fork-child-process-resource-temporarily-u > > it may not help, but it's something to look into. > > ________________________________________ > > CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, > is for the sole use of the intended recipients and may contain confidential > and privileged information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the intended recipient, please > contact the sender by reply e-mail and destroy all copies of the original > message. Hello Jose, Thank you for the reply. I read through the Stack Overflow post. Unfortunately, Windows Server 2016 is based on an early version of Windows 10, which does not have the "Windows Defender Security Center" app. Only 2019 and later versions have that feature. I did find this article and used the group policy editor to disable ASLR for several Cygwin executables (ash, bash, find, rm), but that didn't make any difference. https://learn.microsoft.com/en-us/windows/security/threat-protection/override-mitigation-options-for-app-related-security-policies Best Regards, Dale Lobb ________________________________ CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -- 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