delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/16/09:27:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Thu, 16 Feb 2012 08:26:49 -0600 (CST)
From: Carl Soderstrom <chrome AT mn DOT real-time DOT com>
Reply-To: Carl Soderstrom <chrome AT real-time DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.10 cygrunsrv.exe fails with "fork: 11, Resource temporarily unavailable"
Message-ID: <c88b93aa-623f-4902-aa62-b113aee77ea8@zimbra>
In-Reply-To: <20120210091016.GN23330@calimero.vinschen.de>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

I want to make sure my solution ends up in the archives for the benefit of other people.

> From: "Corinna Vinschen" 
<snip>
> On Feb  9 15:39, Carl Soderstrom wrote:
> > Changing the stack size using regtool (regtool.exe -i set
> > /HKLM/Software/Cygwin/heap_chunk_in_mb 2048) has not fixed the
> > problem.
> 
> I don't know what the problem is here, but please note the change in
> terms of the heap size in 1.7.10:
> 
> http://cygwin.com/cygwin-ug-net/setup-maxmem.html


Thank you, that was helpful. In the end what seems to have fixed it was to run an ash.exe shell (launched directly from the Start -> Run 
dialog), run 'cd /bin;PATH=. rebaseall' in that, then re-launch the Cygwin terminal, run the following commands:

$ peflags --cygwin-heap=1024 /usr/bin/run.exe
$ peflags --cygwin-heap=1024 /usr/bin/cygrunsrv.exe

I do not know if all those steps were necessary, but the programs seem to work correctly now.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

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

- Raw text -


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