X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A16183858413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1694034081; bh=X4vshNeQ8OYwlEE/RdJY123Mwg+csOC8OMnxjhqcAqY=; h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=DS9gWWGxLuV7Gqi3L/4gj04RK2gM/YZSuuezuhhZbXU7Jett81eGpM4HZhmxKYtYq 0PbahnpuxMS5ePey/jQ+8tg3kXnqF5FiwhJwAK/LDKRZ5UvgzIt2MAWWmCbvDE/dM0 5CQEVJQOnVPGc4GACdlnNXThknRehjNosMjdC2qY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 00E7F3858C78 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 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?= =?us-ascii?Q?8nmj1qKxbAVzAEm9RpiE1QMuA6ulgUKA0b+W2Ft99k+9XSejNL8VYwaABxQN?= =?us-ascii?Q?k8llNZMH+azxpPKPXtm9gWUJ28TDfWUxLloPqDecObw7nju4OyGfLG7HH4n2?= =?us-ascii?Q?bF0lv5rZ1du/hdShyBAQIPVDzbTaEgGMN4ED3+n/RStFexfZ8t+hCbVLQ/IY?= =?us-ascii?Q?6KkpvbxEMCNoczVpxllme8UywpmXAC627vmC3Y2M0D/f4JTE+tmLOLyI32As?= =?us-ascii?Q?H9cFE3gmkDr5mTPPQ7gQnBese8moXxJH8jMou6lyc6WJd0F8cjxzJduOZmtI?= =?us-ascii?Q?GglEvzudvlOiV3N0sZb4WPmTFcUEKfBQS0Jr4kY1xuxKyCbflp3GPH3u7wqh?= =?us-ascii?Q?yUhelzd84XkIlWgNtGZtK390WipEJegnqpVAlqg9y+PIjhEbGM+ItvKIWzDr?= =?us-ascii?Q?ijYEgwGPN/eI1GeNhrpz3Oh3FX+WG8UmNb4Oz+xyCPbPkei7GI7G/whhaX21?= =?us-ascii?Q?vAqeOIDr8nQMKyK93mJGyUKA0rMi+E1HV+sLa7vNcxoYsHLVDuvBAmOLq8VK?= =?us-ascii?Q?2luW6Ufho9dUtPtGoONl19JKALy3w/34laqBrp64AXfFPPveMEomvgJmR8UF?= =?us-ascii?Q?gkt3Xl6MeP0WD87lfR9m78AO3OGbZfBwau8JSUJRvoCVH5PzvO4WL3/7n6VM?= =?us-ascii?Q?UEiXZz0xPZTAdCQAlY0GZtrnks4ipV7erFnDJScIhvKlrnLsIMpEzOf7KDMl?= =?us-ascii?Q?0HUSbVAVHsfKaWwylXP/frkF1M8OAjZpwdfNIo4rnrqojOwLiXoDRcGe1QIk?= =?us-ascii?Q?n6jIsSg3X/OD1xyCcdn9Tr0If4LnLlB4ie6ShVaJnpUitRLJ4yFNRJdhl+x5?= =?us-ascii?Q?eTlD/PBl/aM/1uVlDPs2BCs1n749WApbFk+jm7e86CsT3S/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+?= 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 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: Jose Isaias Cabrera via Cygwin Reply-To: Jose Isaias Cabrera Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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. -- 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