delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/19/06:14:39

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: Mon, 19 Aug 2002 12:15:33 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <193241592191.20020819121533@familiehaase.de>
To: Nils <internationils AT gmx DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: Process exhaustion; please test
In-Reply-To: <3D609310.1020700@gmx.net>
References: <3D609310 DOT 1020700 AT gmx DOT net>
MIME-Version: 1.0

Hallo Nils,

Am Montag, 19. August 2002 um 08:41 schriebst du:


> I've been having a problem running out of process IDs and wrote a small 
> C program to test if it happens on other systems.  On my system I use up 
> 2000 PIDs in ~500-550 forks.  This seems like a lot.  Could others run 
> this and see if they see the same?  Please drop me or the list a line 
> with how it runs on your machine.

$ ./procids
Starting process ID is 422; ending at 2422.
Child process ID 640.
Child process ID 680.
Child process ID 720.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Child process ID 760.
Segmentation fault (core dumped)

Adding a printf I got segfaulting at:
[...]
Forked 2492 times up to now.
Segmentation fault (core dumped)


> I'm on Win XP home with cygwin 1.3.12.  My cygcheck output is attached 
> as well as the short program.

I'm on NT4 with:
$ cygcheck -c cygwin
Cygwin Package Information
Package             Version             
cygwin              1.3.12-4


Gerrit
-- 
"All faults& bugs are mine - Robert"
    from squid/acinclude.m4,   Sun Apr 21 05:21:21 2002


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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