Re: INIT forks too many ORACLE instances...

From: James Cameron <cameron_at_mickie.sna.dec.com>
Date: 11 Apr 1994 00:45:06 GMT
Message-ID: <2oa6ii$11o_at_funlwb.stl.dec.com>


In article <61370_at_rnd.STERN.NYU.EDU>, rmadhava_at_rnd.STERN.NYU.EDU (R. K. Madhavan) writes:
>Why are these processes forked by init (PID 1)?...

Processes are able to make themselves look as if they have been forked by init (PPID=1), when in fact they were not. If you are looking at the PPID output from ps, then you can't prove that init forked them.

The xdm source code written by Keith Packard, MIT X Consortium, has an example. The following comment in some derived source code that I have supports this;

 /*
  * fork so that the process goes into the background automatically. Also
  * has a nice side effect of having the child process get inherited by
  * init (pid 1).
  */

-- 
James Cameron
CSS Sydney Engineering
Digital Equipment Corporation (Australia) Pty. Limited A.C.N. 000 446 800
(cameron_at_aussie.enet.dec.com)
Received on Mon Apr 11 1994 - 02:45:06 CEST

Original text of this message