X-Recipient: archive-cygwin@delorie.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:message-id:subject:from:reply-to:to:cc:date
	:in-reply-to:references:content-type:mime-version
	:content-transfer-encoding; q=dns; s=default; b=Q06OM+XOIgP5i9Zp
	GGMeG1VyFAyrnbWQubnfKK6zeoj8N2J7GyFfOF0hURW1nYUuzWcc50g61NF6xIhs
	jpSRS473VzPsWgksfTV0ocJsJjjcEkU1joDRzCKalIejlI3tDpuqr6EG5mKtOW5D
	ZyLlA6eQYyvpbh+DjODtqwpb3IM=
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:message-id:subject:from:reply-to:to:cc:date
	:in-reply-to:references:content-type:mime-version
	:content-transfer-encoding; s=default; bh=VMT4iVgDRzf+67mHTMqNTn
	y+5f0=; b=YX7Ug0DSGz3VPctFOwm1GIjTAKuW/3Dj3cd11ldx9BKWSexZE6vMsg
	EH4/5KslN06L6bPKUX+t33Ab+0jf5v5WUV5WoLSYDOkkG8fyVzVx+b6MZ4m0dbR8
	YgkCyWseXgL+M1HCerkhtbYqxBREc+dWxjvJtRY4UwwliyOJnUnS8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=H*R:D*dk, shed, HX-Languages-Length:1060, road
X-HELO: cicero2.cybercity.dk
Message-ID: <9ed4b0776323e4a0f62191121715d52a0429bdb2.camel@dontech.dk>
Subject: Re: fork: Resource temporarily unavailable errors after upgrading cygwin packages
From: Peter Dons Tychsen <pdt@dontech.dk>
Reply-To: pdt@dontech.dk
To: David Finnie <david.finnie68@gmail.com>
Cc: cygwin@cygwin.com
Date: Wed, 05 Feb 2020 22:45:15 +0100
In-Reply-To: <CACSsrOzmexPqVeAoZigrkR4Tv6sWa-506Ui8UzsgLcTSBotgLw@mail.gmail.com>
References: <6d43c714-c4ba-4f0c-9913-cb8453129c85@gmail.com>	 <d24aa066-ab3d-9ff0-215a-0a1ed1ec2e5d@cornell.edu>	 <93562f34-3a14-0c10-cb57-1ae861307d82@gmail.com>	 <f4a808cf-d129-f6ce-0da8-674cf88a71ad@gmail.com>	 <810b0c97ee0697c06bdaa4dff4081bb502bc46ab.camel@dontech.dk>	 <CACSsrOzmexPqVeAoZigrkR4Tv6sWa-506Ui8UzsgLcTSBotgLw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.32.5 (3.32.5-1.fc30)
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

Hi David & Co,

> I have started down the road of building cygwin, but did run into a
> few issues so don't have a debuggable version yet. If you beat me to
> it,  please let me know. Thanks!

Any findings?

I have found something interesting:

1) If i run the terminal without mintty, the problem goes away. I can
run my makefiles with "make -j20" without any issues if i start with
"bash --login" instead of the mintty shortcut, where it just uses the
normal windows terminal.

2) As soon as i run via mintty, even "make -j2" quickly goes south,
causes various fork() issues as we have seen. I will see if i can
create a small makefile that shows this.

So either the change we are looking for affects mintty, or the actual
bug we are looking for is in mintty and not the DLL (or both).

Can anyone shed light on this? Another problem is that if i rewind the
DLL (building previous commits) too much then mintty stops working...

Any pointers would be great!

Thanks,

/pedro


--
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

