delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/02/09:40:24

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 <braumann AT uni-leipzig DOT de>
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: <alpine.WNT.2.01.1203021514490.5120@zbpxnh.vmov.hav-yrvcmvt.qr>
User-Agent: Alpine 2.01 (WNT 1266 2009-07-14)
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


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