Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Mime-Version: 1.0 (Apple Message framework v619.2)
In-Reply-To: <6.2.1.2.0.20050413175805.03cc4f08@pop.prospeed.net>
References: <21e0fd8ec77e3ec8d2d422ea913a1630@oculustech.com> <6.2.1.2.0.20050412135031.03b31310@pop.prospeed.net> <15c2e5a3a352e77a016cc5e22b9ae615@oculustech.com> <6.2.1.2.0.20050412154756.03c2d9f8@pop.prospeed.net> <e88775c8fdba3bbb40d1ca7a8290fb87@oculustech.com> <6.2.1.2.0.20050413175805.03cc4f08@pop.prospeed.net>
Content-Type: multipart/mixed; boundary=Apple-Mail-2--99361172
Message-Id: <6b4166e1da326afd8c530787ca4aab9d@oculustech.com>
From: Timothy Wall <twall@oculustech.com>
Subject: Re: How do I solve/work around "Resource temporarily unavailable"
Date: Thu, 14 Apr 2005 13:21:48 -0400
To: Cygwin List <cygwin@cygwin.com>
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on mail00.int.oculustech.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=4.5 tests=AWL,BAYES_00 autolearn=ham version=3.0.1
Note-from-DJ: This may be spam

--Apple-Mail-2--99361172
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Attached is a very simple makefile which demonstrates the problem.  
There's a leak either in make itself or in the spawning of 
subprocesses.

Beware! this will likely lock up your machine, or at the very least 
prevent you from launching any new processes.

Simply type "make" with this makefile in the same directory.  It 
invokes another target defined within the makefile which does an "echo" 
a couple thousand times.


--Apple-Mail-2--99361172
Content-Transfer-Encoding: quoted-printable
Content-Type: application/octet-stream;
	x-unix-mode=0775;
	name="makefile"
Content-Disposition: attachment;
	filename=makefile

SHELL=3Dbash

all:
	for ((i=3D0; i<1000000; i++)); do make hello; done

hello:
	@echo "hello"


--Apple-Mail-2--99361172
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--Apple-Mail-2--99361172--

