delorie.com/archives/browse.cgi | search |
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 |
To: | cygwin AT cygwin DOT com |
From: | "Merlin Ran" <merlinran AT 163 DOT com> |
Subject: | 1.5.13:Is it difficult to make cygwin recycle pids when create new process? |
Date: | Thu, 31 Mar 2005 21:36:16 +0800 |
Lines: | 17 |
Message-ID: | <d2gufc$m8d$1@sea.gmane.org> |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | 222.55.65.160 |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106 |
X-IsSubscribed: | yes |
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? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |