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 Reply-To: Carl Soderstrom To: cygwin AT cygwin DOT com Subject: Re: 1.7.10 cygrunsrv.exe fails with "fork: 11, Resource temporarily unavailable" Message-ID: In-Reply-To: <20120210091016.GN23330@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 I want to make sure my solution ends up in the archives for the benefit of other people. > From: "Corinna Vinschen" > 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