Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 10 Jul 2003 13:37:52 -0400
From: Christopher Faylor <cgf-idd@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygwin 1.5.0-1 forked off child processes have open handles to non-existant processes
Message-ID: <20030710173752.GB6345@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <Pine.LNX.4.44.0307101737280.1171-100000@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.44.0307101737280.1171-100000@localhost.localdomain>
User-Agent: Mutt/1.4.1i

On Thu, Jul 10, 2003 at 05:48:21PM +0200, Ronald Landheer-Cieslak wrote:
>I was just walking my process tree with the process explorer when I saw
>the cron process had an open handle to a non-existant process
>(presumably its parent).

That is correct.  It is working as designed.  It has always done this.
It keeps a handle open to the process so that the pid of the original
process will not be reused.  It also keeps several process handles open
so that pids will not be reused too quickly as that confuses bash.

cgf

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

