delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/08/21:00:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Sat, 9 Aug 2003 01:58:49 +0100
From: Elfyn McBratney <elfyn AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Information regarding problem when Windows cannot re-use PID numbers (FAQ?)
Message-ID: <20030809005849.GA28074@emcb.co.uk>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3F344008 DOT 00000D DOT 07740 AT pantene DOT yandex DOT ru>
Mime-Version: 1.0
In-Reply-To: <3F344008.00000D.07740@pantene.yandex.ru>
User-Agent: Mutt/1.4.1i

zenma <zenma AT yandex DOT ru> wrote:
> Hello cygwin users,
> Some time ago i experienced a problem when compiling big programs under cygwin
> when Windows after some time stops allowing you to run any more processes with
> one of the following messages:
> 
> fork: Permission denied
> Insufficient system resources exist to complete requested service.
> 
> I have searched through cygwin mailing list to find any valuable info in order to
> solve the problem but found only other users reporting similar problem.
> 
> The problem was clearly described by one of the users here, basically it is
> related to spawning of processes by Windows and when you run multiple processes
> (one by one, not in parallel) windows start growing PID numbers incrementally and
> does not re-use them when it should.
> 
> I had to reinstall Windows to find what is causing it, and finally was able to do
> it. It was a Firewall software called Agnitum Outpost which was causing such a bad
> behavior. When i uninstalled this application problems have gone and windows was
> able to re-use PID numbers again as it should. This is related to both Outpost 1.0
> and 2.0 versions. This was tested on different computers (Windows XP [SP1]).
> I have sent a bug report few days ago regarding this problem to Agnitum.
> 
> I know, this is not related to cygwin, but i thought it might be a valuable
> information to some people who ran into this problem and was not able to find the
> cause.
> 
> P.S. Sorry for my bad english.

No need to apologise, and thanks for posting your findings.

Perhaps this could be added to the FAQ. It seems there's software out there
that gives cygwin grief (firewall, anti-virus, microsft ...) in this and similar
situations. You never know, someone might read it :-)

Something like:

  "Why do I get 'fork: Permission denied' in bash when I try and run
  a cygwin process?"

  The "Permission denied" error, in context with fork(), means that
  Windows is unable to spawn a new process. This could be down to
  resource limitation on the machine itself, or could have something
  to do with third-party software on your machine (like anti-virus or
  firewall applications) locking you out.

  Try de-activating such software to assertain whether or not the fault
  is with Cygwin or is related to ... If you don't have any such software
  installed, or you've tried the above and your still seeing problems,
  consider consulting the cygwin mailing list archives available here
  <http://cygwin.com/ml/cygwin/> or ask for help on the cygwin list.

-- Elfyn

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