Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Which process spawns a dedicated server process?
"Michael J. Moore" <NOhicamelSPAM_at_comcast.net> wrote in message news:<rxldb.166107$mp.90993_at_rwcrnsc51.ops.asp.att.net>...
> ------------------------------
> ------------------------------ > Ed, I have hit the manuals resulting in the very need to ask this question. > > According to OCP 9i Database Fundamentals 1 Exam Guide: > > On page 12 it says: "... the listener tells Oracle to generate a new > dedicated server ..." yet on page 14 in the questions and answers section it > says "The listener spawns a new server process." >
Hi, Michael,
Your question is quite legitimate. On UNIX, when you connect to the database in dedicated configuration through SQL*Net, the listener spawns a child process, immediately forks, the parent exits, and the child exec's $ORACLE_HOME/bin/oracle. The server process thus created (or called shadow process as if it were a shadow of your client process) behaves like a UNIX daemon. The reason a server process has a parent pid of 1 is that it's a child of a parent who exited.
Yong Huang Received on Sat Sep 27 2003 - 23:12:25 CDT