www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/05/09:18:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 5 May 2009 15:17:57 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7: cygserver problems under cygwin 1.7
Message-ID: <20090505131757.GZ21324@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <941a6680905041107h150c8109s1baf9cb903cf8855 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <941a6680905041107h150c8109s1baf9cb903cf8855@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
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

On May  4 14:07, Patrick Aikens wrote:
> I've just installed cygwin 1.7 on a WinXP SP3 machine that used to
> have 1.5 installed.  Since I didn't want to run them in parallel,
> first I deleted my c:\cygwin folder, then used regedit to get rid of
> the "Cygnus Solutions" and "Cygwin" registry keys from HKLM/Software
> and HKCU/Software to do as clean an install as possible.
> 
> I ran the new setup-1.7.exe and installed the system for "All Users".
> I ran cygserver-setup once everything was done, and it reported
> success.  When I ran "cygrunsrv -S cygserver", I got the error
> 
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1053:
> The service did not respond to the start or control request in a timely fashion.
> 
> The service is in a "Start Pending" state for a VERY long time (on the
> order of 5 minutes or so), then it silently goes back to "Stopped".
> [...]
>  cygserver: PID 4520: starting
> service `cygserver' failed: fork: 11, Resource temporarily
> unavailable."

Another puzzle :(

The above error message in the event log means cygrunsrv can't fork due
to ... whatever reason.  Typically this occurs when a process has
trouble to duplicate its memory to the forked child process which in
most cases happens because Windows managed to load a DLL in the child
process where the parent had "normal" memory.

The puzzle here is, that cygrunsrv only depends on the cygwin DLL
itself.  This should never result in the aforementioned problem.
And I can't reproduce it on my XP SP3 test machine.

The only reason I can see why this happens would be a BLODA problem as
described in http://cygwin.com/1.7/faq/faq.using.html#faq.using.bloda


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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