delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/12/04/13:16:00

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Mon, 4 Dec 2000 13:14:45 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygdev <cygwin-developers AT cygwin DOT com>
Subject: Re: bash/cygwin leaking process handles
Message-ID: <20001204131445.D7047@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygdev <cygwin-developers AT cygwin DOT com>
References: <Pine DOT NEB DOT 4 DOT 10 DOT 10012032252140 DOT 25290-100000 AT cesium DOT clock DOT org> <3A2B5B4A DOT D7C85BE6 AT redhat DOT com> <20001204115202 DOT G2397 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <20001204115202.G2397@redhat.com>; from cgf@redhat.com on Mon, Dec 04, 2000 at 11:52:02AM -0500

On Mon, Dec 04, 2000 at 11:52:02AM -0500, Christopher Faylor wrote:
>On Mon, Dec 04, 2000 at 09:52:26AM +0100, Corinna Vinschen wrote:
>>Matt wrote:
>>> result: one process handle will be leaked for every repeat. There appear
>>> to be two handles leaked just starting the original bash, though. By
>>> handle leak, I am meaning that a process handle is still open to a process
>>> that no longer exists.
>>
>>Did you check that with 1.1.4 or 1.1.5 as well? Would be interesting
>>to know if that's a new problem.
>
>And, it would be interesting to have the problem debugged, actually.
>This is "cygwin-developers", right?

Btw, it is normal to keep handles open to processes that no longer exist.
cygwin maintains a queue of recently used process handles to avoid pid
reuse.  The design was that some number will always be open but this
number should not grow without bound.

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019