delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/31/09:07:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 31 Mar 2005 16:06:56 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.13:Is it difficult to make cygwin recycle pids when create new process?
Message-ID: <20050331140656.GF2495@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <d2gufc$m8d$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <d2gufc$m8d$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i

On Mar 31 21:36, Merlin Ran wrote:
> see:
> http://sourceware.org/ml/cygwin/2005-03/msg00657.html
> 
> When start a new Windows process, the system attempt to recycle a previously
> used PID, so the maximam PID in the system is low. But when I invoke a
> command in Cygwin, the PID of new process always increase. It may not be a
> problem as long as the maximam PID doesn't exceed the limit, but
> unfortunately it will. As I discovered, my Win2000 Professional system's PID
> limit is a little more than 17000, many configure script I have run, such as
> mysql and net-snmp's, aborted because unsuccessfully fork().
> 
> Why does Cygwin's fork() behave unlike native Windows, since it is based on
> CreateProcess()(http://www.cygwin.com/faq/faq_3.html#SEC77)? I'v searched a
> post on why use two types of
> PID(http://www.cygwin.com/ml/cygwin/2003-10/msg00139.html), does it matter?

Doesn't http://www.cygwin.com/ml/cygwin/2003-10/msg00169.html explain it?


Corinna

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

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