X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51E04385782B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1694210622; bh=HIIbXwZpF1VW9ABQ++/uf/ZG5gQ8XeNmSlQ6pE6P8O4=; 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=jS3b87ZwfLLklGYHu2cGYjuH6TqlVX/6MkhpuKQXPbbKXy+mfy75hBrl5wR1lu3Mf qeuWQpasex92jP54MjOaF0vPb6J7h6U6Be8ccCGGZRDhvB4DFQ0PDkH4dXDHjIP/Am 3MGciFZ3V9Pyi34vPW2me1qEUqN2edDuOBKnhIUA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2BA443858C2D ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l8FuNj4A5s2ceA9RNegSdjo9BSkOi3pYxZCO0QKKo6fBXzlXSNbljq/9sOb9UneTjqbHyUjkY2DdSkT7A6xldu9UpFkv9cLTMMJC7AP5QhoVfvbs5P6gvaNJjtdK3PX7bg4f4csZYwxVD8/GAo/U4y5reaKlHrEivaT6L7+L7h0iB3qmMkP5aOWWYMUnxsqc+uqxmu8STsPvJuNew/W4UMdnV6Iac2U+D6FlcjTszW/5KpjedxjkyWh+mEqkm5m1UNRvw/T+WZWQAKlfzL1B5M4RxI2OGbQVNIuE0YJ/xexp8m+xAaTXju8NqSMla8X0JrZgkksSvfeTAOiPuiAkOw== 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=RtFo7cmCug30tEWT3v6qk25uiWOsRWlqJnE6MlGizx0=; b=d4A+On+dB9s1X+F33la4K3HFVRdI4TxPz8BpAhQir2ErJDKCw6xQpaEPg7OQD6324WehN458RKgvBVYLixt0hwapOvfuo4LFaUMWHqkCeBdj3QFw3Bzy2bQLk+eY0ussuZRS2iv5Q6Y9XNtPGSswrgyWx7IqBIhtvSwVcqm6t5aMkuQqzFP3bV9JYOJWsxdqxSY91ilXcBLh08Cs7NCjJdC7YEFozkSEhf3nrfAfhRO/9jDYOY634h7uIJRONVRXiN0jDhKoL7luc/7zDHKLPH+ttS3sVM1YZJD8wRx7zXSzW56IzLJBwq5e34EBc5TxA9yWFOsm0/WOdyQq2AymXQ== 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: Mark Geisert , Cygwin Mailing List Subject: RE: EXTERNAL SENDER: Re: Fork errors Thread-Topic: EXTERNAL SENDER: Re: Fork errors Thread-Index: Adng8mjswrahKs4JQcWqkRonWj3CGwAJ/hAAAGCe35A= Date: Fri, 8 Sep 2023 22:02:44 +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_|LV3PR16MB6266:EE_ x-ms-office365-filtering-correlation-id: b93422fe-554b-449f-c6c7-08dbb0b75470 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5phIR3ggZ0dAUSHZ9QNQ3U7tKE+tNuCywokJ8kH0fzO+2g3uDq5llCEsok/uRAWCWrW8B2NxeEAINjS59lTEH6tiuCmY6gQ6ADm+o8mVI9dul4z/IKDC2i44SjZlLZ2n5eLKIyQyOQUq8IyEHdriIx6aLnj6ntWs9UdaMOVEMHVbFV1sxDXw8LiUM8cH0eSNBQA1Snc9h5uRZqP1MYXlK797j2z8heDISsn8Ufd7fcLoliwGkdcMeqyIgiLZpQ5YpfZmFvVAdXtzR5khUMkv+HV8dupOzizMn9xg6mlGJQekgel4qc+YIWnaXwrHT179rrlPxkhHRr//Dav/CZneP1eGyxrMEbhzCxITWhLG2q7nnu5dR0hbK7Mpr7jo+JWYflzxDlhuKgtin2JWSIiLfbz5U0Zl/t3aD9B9xhEYdfIYcC1z0+y+wbbRfsQBRnBP1RfJPqzysCqNWYr8AzyYJR9K99K73NrxnpvzbdwCHGP/lFIZEWjlm+od6HzjBTaGrZS7hFrKeT5Fxbfv7gTrpQ+iRRKaHBdakw2uvLuh4Xvdtk1kgSm8O1WZM6MJhUXlkFpdIu/Xr8i6BTaqCyxYZSNkfAbyyHZ/RR7DB5jEhADzpSFTXi5U/eFuYFw2q25n 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)(39850400004)(346002)(366004)(136003)(396003)(376002)(1800799009)(186009)(451199024)(38070700005)(52536014)(122000001)(66899024)(53546011)(6506007)(7696005)(71200400001)(9686003)(478600001)(38100700002)(33656002)(86362001)(55016003)(19627235002)(2906002)(26005)(966005)(83380400001)(66476007)(41300700001)(5660300002)(8936002)(64756008)(66556008)(316002)(66446008)(8676002)(66946007)(110136005)(76116006)(460985005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YlVEem15OGdpc2hIK0xDd2hFZU9rUWVxZDduQjZOd1h4aGExMUZ6Tk1WK24r?= =?utf-8?B?VUNtQlVKMmlUcVF4eGZaNG8yV3hTVXhqTUxGTTQ5a0tiTGJaUWE2bFdhSzRG?= =?utf-8?B?dmNVWjhnSUNmS3BQTFl0R3lhWEVocEI1VnNCQlFiT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YkZiM2IwNUJqcXd2N1V5QTBJZFBYV0ppWVRQdVJkaUhsUWxkUXUwdGNR?= =?utf-8?B?dm9JdUdCQnFxRjZFRUxweGc2R0dxMmtXNWpiU3pETlRFbVRyd0hOVnkwa1Fn?= =?utf-8?B?ME5TR0Q5bXdJTmhZWXduajFrS0ltK1Z2Z0lmRXFzYXhnbHJ3aFlkMnB1empZ?= =?utf-8?Q?Pv3KM/DpBuqdekl782VhitgIO?= 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: b93422fe-554b-449f-c6c7-08dbb0b75470 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2023 22:02:44.4811 (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: 8TTZkbu0EJv9kvyLu9jqA+3I9fvCI5C2rZ5biIG2YXpcrUr+Y4aREZPF7wuZ4V70BxiQsx+S56OCvcBCPe4Deg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR16MB6266 X-Proofpoint-ORIG-GUID: pIH49yGREGPe796bmw3HJczS1xwGRw92 X-Proofpoint-GUID: pIH49yGREGPe796bmw3HJczS1xwGRw92 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 malwarescore=0 impostorscore=0 adultscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2309080201 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, LIKELY_SPAM_FROM, 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: Cygwin > On Behalf Of Mark Geisert via Cygwin > Sent: Wednesday, September 6, 2023 6:32 PM > To: Cygwin Mailing List > Subject: EXTERNAL SENDER: Re: Fork errors > > Dale Lobb via Cygwin wrote: > > 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? > > Try the FAQ, specifically > https://urldefense.com/v3/__https://cygwin.com/faq.html*faq.using.fixing- > fork- > failures__;Iw!!PI4dZuVR!iMEVdwUomDN3L1KOsOWkDMmUhiuXarkAyjI6itT- > BSJ5bcjg65VVWHdP7U5Ny2VaBilIz9R3o6SkMqX3$ > > Pay attention to the subtleties of running rebaseall, e.g. make sure no Cygwin > processes (background server processes or whatnot) are running. When the > FAQ gets > to talking about running setup.exe for this situation, it means close any open > Cygwin shell windows and manually run the Cygwin Setup program, just > taking its > defaults all the way through; you needn't install anything it suggests at this > time. The object is to get to Setup's end where it runs a full rebase. > > Speculation: The specific exit code 0xC0000142 may or may not have > something to do > with Windows error 142, which is ERROR_BUSY_DRIVE. I cannot help further > on this. > > ..mark > > > ________________________________ > > > > 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. > > P.S. You've sent your post to a public mailing list so the above notice does not > apply. Obfuscate your system particulars if that's a problem. > > -- > Problem reports: > https://urldefense.com/v3/__https://cygwin.com/problems.html__;!!PI4dZu > VR!iMEVdwUomDN3L1KOsOWkDMmUhiuXarkAyjI6itT- > BSJ5bcjg65VVWHdP7U5Ny2VaBilIz9R3o_fDJhhS$ > FAQ: > https://urldefense.com/v3/__https://cygwin.com/faq/__;!!PI4dZuVR!iMEVd > wUomDN3L1KOsOWkDMmUhiuXarkAyjI6itT- > BSJ5bcjg65VVWHdP7U5Ny2VaBilIz9R3o5GKnVUD$ > Documentation: > https://urldefense.com/v3/__https://cygwin.com/docs.html__;!!PI4dZuVR!i > MEVdwUomDN3L1KOsOWkDMmUhiuXarkAyjI6itT- > BSJ5bcjg65VVWHdP7U5Ny2VaBilIz9R3o2A6MIc4$ > Unsubscribe info: > https://urldefense.com/v3/__https://cygwin.com/ml/*unsubscribe- > simple__;Iw!!PI4dZuVR!iMEVdwUomDN3L1KOsOWkDMmUhiuXarkAyjI6itT- > BSJ5bcjg65VVWHdP7U5Ny2VaBilIz9R3o4OJCuT7$ Hi Mark, thanks for the reply! I ran though the rebase-trigger process as outlined in the FAQ. Unfortunately, there was no difference afterwards. One good thing about reading the FAQ, it lead me to "/usr/share/doc/rebase/README" which has the parameters for the rebaseall command. I'm thinking about running rebaseall manually with a different base address than the default (0x70000000). 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