This is the mail archive of the
cygwin
mailing list for the Cygwin project.
1.5.13:Is it difficult to make cygwin recycle pids when create new process?
- From: "Merlin Ran" <merlinran at 163 dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 31 Mar 2005 21:36:16 +0800
- Subject: 1.5.13:Is it difficult to make cygwin recycle pids when create new process?
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/