X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; q=dns; s=default; b=J9oKNeAiene2/UKU7wVJqEdpAKauo vFNXsLlkur6SQAZ4hBm0TiYfAnkXzDBFZQOPH23Zm+Hq36NkPF0d8JdXP4snMlTA YUFQ/xka7ZFqC0/m1G98cZtA5K5qMMJBAYu3edy1ifevtAEdfuNEgiwHBz11HaIe GZiT7n4DtrPby8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; s=default; bh=dUgF0pPBeM8Abt2gEcpsBfgDs2o=; b=a46 Y9zl72DRaF/YfOhWWYIoVWbB7u+Kdx1l+Kzmzr2ytp0Y1FHB/F7fkmye1MfhYdxe N2Qx6tc2Sm+foYru8DYnfSzF9xOAEftbf+fK19N3y3xXTslC/uD+BbTvQvVnI8EZ L1GxJRNsHsrid617vobSnXuqyn29F5R7DSGVaUFc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.6 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=installation, vast, lengthy, upgrading X-HELO: NAM10-MW2-obe.outbound.protection.outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IcktT1aFU6pgaRW1ZDYJsUiLDlICTBZpkgndbH/Gfx9llnIOHdQRohvdZfXOJMk/7pZmOyCOX1egOhoIVLMui6Or84lsHubsrSM7zI8jATTeFFxB/C+uGnHB886nfxyqAkz9hPcjuPPo2t6iO/ogvc54gu6XSFPw3yPF8vXNu+KWERpsNLbZYXADdi6B25IYWveDoneKHrfbwrEAwr+1pYxem/5izlY63AsJ1nur83SJMOKVOhk2zGy4/Nxb5bg4cYFOISQvC9axR3L50XQS0+z1N5UHJbetjfAMVwqFN4GZzgxQavRnmKc37Tn/PDD+I1c1sWDBDaE2UpbNyhWKKA== 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-SenderADCheck; bh=yidJmNa9WRcr/7ENMw0g6TJ3nPV4helk4KL5ZAzi7Ho=; b=iOKLFIf4dJXQUbupyMLwArIgO9sKU2haGfKUkqLsAZud0yDH6u8j6n9nKfoge8CfNH91NcIkX/ceZBZXNrwXyJW59whi6fDVPfc9l1dI1w95EnHxPknJ292VX8GvVq/xR/VKMU8j6ElZUFYF8UCk+kL7g8k5YsCjcjrrgK9YSULszDDQQUNSUhAq/o/1KwZdEsPGTD6WqA51ZPsJBwBkH673k7GumRRXJvNaZQseeYUqu/rWlcggTUJPRkXsWPtH0d62cW1ZVok28IKp82SjRaU4Jw4he1JKtkml/+UbjQToCmcDzUPe1/APAua5cnq30uUy721Nu3RQ/viTXtObqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yidJmNa9WRcr/7ENMw0g6TJ3nPV4helk4KL5ZAzi7Ho=; b=bY5n9ED6ymhNxlUzwfMhq1XfNrnODM0qJWnsZh4kH1lvagEKgCU5hOBsuhXgL++xGe+JE+vP6wqYMdH3kt6xT802XhKGVgDu7Bzs2HXrnv7aBEh1H4fj+s2WVT7BujhtBwffT4EV/1aCUpBAKZ+PfUVjdRT8Iq2jeSnHHNZXdf8= From: Ken Brown To: "cygwin AT cygwin DOT com" Subject: Re: fork: Resource temporarily unavailable errors after upgrading cygwin packages Date: Tue, 31 Dec 2019 19:20:08 +0000 Message-ID: References: <6d43c714-c4ba-4f0c-9913-cb8453129c85 AT gmail DOT com> In-Reply-To: <6d43c714-c4ba-4f0c-9913-cb8453129c85@gmail.com> user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu; x-ms-oob-tlc-oobclassifiers: OLM:8882; received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-ID: <7EBCD9B7A8CF004E83B4E5D6D36260C4 AT namprd04 DOT prod DOT outlook DOT com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TREDdxXeG8CAAH/g87jH+2xskJb04l8n4UUiXJBggzOvhZ0wfUgRYhKWXUU3p80MJwNg5+DWZdakA7DrDGBxSg== X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id xBVJKkKs025863 On 12/30/2019 6:10 PM, David Finnie wrote: > I recently upgraded my cygwin64 installation to get latest packages. > > After the install, if I run a fairly lengthy GNU make with multiple concurrent > jobs (-j option) specified, some of the sub-makes fail with "Resource > temporarily unavailable" errors. In all cases, this has been when make is > starting a shell (i.e. $(shell ...) ) to help with setting up some of the > variables required in the make processing. The failure, however, occurs in > different places in the make files used (the make spawns several sub-makes). Does this happen with every parallel make, or is it one specific program that you're building? If the latter, can you give a detailed recipe so that others can try to reproduce the problem? > Some example error output from make: > > make[2]: ../../build/Make/platform_options.mk:9: fork: Resource temporarily > unavailable > make[2]: ../../build/Make/platform_options_linux.mk:33: fork: Resource > temporarily unavailable > make[2]: ../../build/Make/platform_options.mk:9: fork: Resource temporarily > unavailable > make[2]: ../../build/Make/platform_options_linux.mk:33: fork: Resource > temporarily unavailable > make[2]: ../../build/Make/platform_options_oss_l.mk:7: fork: Resource > temporarily unavailable > make[2]: fork: Resource temporarily unavailable > > Note that while some make operations fail as per above, the vast majority work - > including sub-makes that are executing the exact same lines that occasionally > fail. If I force make to run with 1 concurrent job (-j1), I don't get these errors. > > I have confirmed via Windows Task Manager that the correct cygwin64 make and > bash are being invoked. The makefiles do not override the default SHELL. > > I have tried all of the usual things: > > - running rebaseall from ash (running as Administrator) > > - using rebase-trigger full, and then re-running cygwin64 setup > > - reverting to a slightly older version of make and bash Have you tried reverting to cygwin-3.0.7-1? > This all happened immediately after upgrading the cygwin installation, and I > didn't change anything else on my system in between make working perfectly, and > now consistently getting these errors. > > Is anyone else experiencing this ? Does anyone have any further magic to try to > correct it ? > > cygcheck.out attached. The only thing that jumps out at me from your cygcheck output is that your PATH is very long. I don't know if that's relevant, but you might try cutting it down before running make. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple