delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/14/13:22:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT oculustech DOT com> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050412135031 DOT 03b31310 AT pop DOT prospeed DOT net> <15c2e5a3a352e77a016cc5e22b9ae615 AT oculustech DOT com> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050412154756 DOT 03c2d9f8 AT pop DOT prospeed DOT net> <e88775c8fdba3bbb40d1ca7a8290fb87 AT oculustech DOT com> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050413175805 DOT 03cc4f08 AT pop DOT prospeed DOT net>
Message-Id: <6b4166e1da326afd8c530787ca4aab9d@oculustech.com>
From: Timothy Wall <twall AT oculustech DOT 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 AT cygwin DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019