X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Fri, 2 Mar 2012 15:39:04 +0100 From: Ulf-Dietrich Braumann Reply-To: braumann AT uni-leipzig DOT de To: cygwin AT cygwin DOT com Subject: Re: 1.7.10 cygrunsrv.exe fails with "fork: 11, Resource temporarily unavailable" Message-ID: User-Agent: Alpine 2.01 (WNT 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi, I run in a similar problem after I have updated cygwin1.dll from 1.7.9 to 1.7.11 on Win2k3 64bit. When I now try to start sshd as a service C:\>net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service could not be started. A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. In the windows event viewer I found "... starting service `sshd' failed: fork: 11, Resource temporarily unavailable." Inspired by Carl Soderstrom's solution for a similar problem I have tried a program-individual heap size setting using $ peflags --cygwin-heap=1024 /usr/sbin/sshd.exe but without success. Unfortunately, since we have now cygwin1.dll in version 1.7.11 I can no longer simply roll back to 1.7.9 (where the heap setting was done in the previous global way). Any hints welcome - Ulf-Dietrich On Feb 16, Carl Soderstrom wrote: > I want to make sure my solution ends up in the archives for the benefit > of other people. > > ... > > > 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. -- 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