From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2082c.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::82c]) by sourceware.org (Postfix) with ESMTPS id 00E7F3858C78 for ; Wed, 6 Sep 2023 21:00:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 00E7F3858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Du1LWNCwMDilpYCxvi4YBpnkXXyRSUduuoCwV1ybBcfXTMyYQ/uC5Qc+u1X3yHox7DqDcw5xedJP+jS2oiYF09FgamJQvAww5k5mXqMMRs4pb432IXyJdNyRZ03OXnWdj1ZJcRIwVEnzR/darFlMRlgiGY8zNl41Mi6AP5o0yGAayuVZ5teo4rhh87vglPrKnconV3pS4SrV5oiEKAapTIuLtxiV/VyiCorNSJbwhkgqiU5alwJXWZkECrdXRLQn5UQfYYgUHe/7E4lFiAFRaQRLITfiKX70OqFxH0ITVL4gZH/0bGtLckTdhsp+VBSGwLV7HjDBAOT9mGm6ur0KFQ== 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=jtfim0XjzQ6U/gaCCUjaaPcDIEbE4T2lDXLQ4ePtO60=; b=PtGF45rUsQkD9BUr6AeEFSY2JfHcj+wbAfbtomXt5yR3m/p0HPf/NmYGFnQTapmuBf07XxYoA7T5abHfiKsDgTbCcJOm9HnrnvKqDIZD4mFrmWzLgAyherjJqiuWTddgSsRWkbCtepF/Yvm8dIIqNzFCcLT6v+y0klB2MkqhASxogxUIfznTx5TRXVOQkj3ut3beRGLhPfL6Vobqdr3glWHKzTEt7aFLgBeA5jCA1IO9/HetnYz7z6G1ZSvLfh6sOuO8e4P6/kqbLFQUpap+2dgfcXh3j7iXciAtgQwobaQ+tXDGwKsxOd6pwIQwuEP/S5LLVYqkM3rS2RwMGZrMWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jtfim0XjzQ6U/gaCCUjaaPcDIEbE4T2lDXLQ4ePtO60=; b=cFV7B81ijkJbmtai0ZZbGt0SGCy0xrovIQ8PXzYtH6IEs8H27O4BDH28EznfblPLTjjkDZqnw66WBuBJ2fPMRZTa6qadvd+fPqWbvzBuoKDmwtW+0a+5xwub7eb3Jqijnjh3uwLfKtaTCsTzCa7b7JRCuoGnAX4zsJICY77F2J47pJwizf6HL+uG9zD7qYCt7i45AJBULoylbYbxdHbfnCcaaaE6E7Fv5rOBw2giDOX8UbBUshRVh7wAXNA+ZtVjkpb1PorDccRQxGgcLPA9gWxRHZwWkChZkOhtJQBLj++feuBI1Ra3xnSrXCHLVCbFnd6i/UScShIvJTkdUl1OdA== Received: from DB9P251MB0063.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:2c9::18) by GVXP251MB0765.EURP251.PROD.OUTLOOK.COM (2603:10a6:150:3e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.34; Wed, 6 Sep 2023 21:00:37 +0000 Received: from DB9P251MB0063.EURP251.PROD.OUTLOOK.COM ([fe80::d1df:2c15:4d8c:8702]) by DB9P251MB0063.EURP251.PROD.OUTLOOK.COM ([fe80::d1df:2c15:4d8c:8702%5]) with mapi id 15.20.6745.034; Wed, 6 Sep 2023 21:00:37 +0000 From: Jose Isaias Cabrera To: Dale Lobb , tryandbuy via Cygwin Subject: RE: Fork errors Thread-Topic: Fork errors Thread-Index: Adng8mjswrahKs4JQcWqkRonWj3CGwAElQnQ Date: Wed, 6 Sep 2023 21:00:37 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [UPuF6gts+Kq8Jx4C49fBWqAE556XPYI0] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB9P251MB0063:EE_|GVXP251MB0765:EE_ x-ms-office365-filtering-correlation-id: 21f692d7-72ef-4dd7-3f02-08dbaf1c51f4 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: V50YJ/5+4s+xPh6iWHye0YevowWjJ7AgYcUIl+MaDd9Yi/4SzAfZxdXXATwRdMg4f1Hsf982xxe3VPYN+rBxdLoUfMuPSSdBgQ+MZ9uhIBNKab3iC2s+ESz/n0RzM+SRIn1yoaJnrSJ9+HG2+ZlKiNN5y2XVPx3by7liRkmcpCI8IsExKhJrbXM2/ejdXo/qd+Cb/6xCgU1urJr/WKaNWOJBRFu2jHl2+KN0oLpxJJiInpZcZb8hNNOzCjbLVrne18BzNAHPHYWvQm6+DdbRO1hOu4LAicxlhidYm3+PZCOVcCHKZGr1THREQGTErIvgIUxkqO19Rt7nu97qkWDtvUsRwz5Ty6jpmsaqtVA7SsmFzgE/HBzDNd3Xka0bPsjCHbAHM3Iq8UsOekZ+R70+5wfSQdUH1WkHSleUaNC99aLFpcgkbctGvRhergH4K8n0unZWYvdHw2Ffm5TpRlCh3zPtcWHt3gcswrP9rrdF/hsAHbG82M5o6xvVAfGSreP0Eynlq2rsfabXULnZ4lyjIIHf8fORlE26LKNZBQU76VA= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?g4iGWvWX3g/RKW+c0uot4T0XFCB+DVBNpmd7fYYXjI/8daTBHDljYIkvcKUp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86CsT3S/JxacdtzSly2EI?= =?us-ascii?Q?lvNUAtPehBNJsGeOwtzvKGWglgW8jfmql+hMu0cmsEsT7I1BtIi/7k4xHyf0?= =?us-ascii?Q?nUNK3J0LfXPgioyqJg8NPI4FTtgngki5Mf+hzrjwa7HeLp0r8ZrmQZJtWiIC?= =?us-ascii?Q?BeSUM4x6niXy/dQPOKPp0WKvlcKvST2hzDZQauQrCIylQaNVSpTAFeWoXbvx?= =?us-ascii?Q?pEpszxMNDX6DRjCpa2sBUQ2n+Kxhmi1IM0F6EpWFD1cbGz7/J9LB2ZLdb1Up?= =?us-ascii?Q?dNzMzqdvL1MupMg+?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0063.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 21f692d7-72ef-4dd7-3f02-08dbaf1c51f4 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2023 21:00:37.1709 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXP251MB0765 X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On September 6, 2023 2:52 PM, Dale Lobb expressed: >=20 > 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. =20 > The Cygwin installation had not been updated for almost a year=20 > before that. >=20 > 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: >=20 > 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 >=20 > 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. >=20 > Today, as a test, I updated all the installed Cygwin components.=20 > One of the post installation scripts failed, so I re-exec'd it: >=20 > $ ./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 >=20 > A second re-exec then worked fine. >=20 > I've tried reinstalling all the components, and I've tried > rebaseall. >=20 > Is there anything else I can try, or troubleshooting steps to > take? >=20 > Best Regards, Take a look at this: https://stackoverflow.com/questions/36399041/cygwin-update-cause-error-coul= d-not-fork-child-process-resource-temporarily-u it may not help, but it's something to look into.