Is it the listener process, or some other Oracle process. Also, on a UNIX
system, when you do "ps -ef" to see your processes, the PPID points back to
a process named "init". Why does the PPID not point to some other process
like, for example, the listener, or PMON, or whoever spawned it.
thanks,
Mike 6 7473
"Michael J. Moore" <NO***********@ comcast.net> wrote in message news:<UNrcb.425 915$Oz4.221120@ rwcrnsc54>... Is it the listener process, or some other Oracle process. Also, on a UNIX system, when you do "ps -ef" to see your processes, the PPID points back to a process named "init". Why does the PPID not point to some other process like, for example, the listener, or PMON, or whoever spawned it. thanks, Mike
The processes are spawned by the OS, repesented by the process called
init. Talk to you UNIX admin about how this works.
Then my question back to you arises: why do you care?
If you are the DBA, then you need to hit the manuals some more.
If you are not the DBA, you should not care.
(I suspect ayou are not the DBA but you feel to need to control this
process somehow. If you have some problem of performance or other,
post that and suggestions will come. Looking at process IDs will get
you nowhere in understanding the ORACLE operations and architecture.)
HTH,
ed
--
Magic Interface, Ltd.
440-498-3700
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."
So, which is it, "listener tell Oracle" or "listener spawns"? Or now you
have given me a third option "The processes are spawned by the OS".
The reason I care is because I would like to be able to answer this question
correctly if it occurs on an exam.
regards,
Mike
"Ed prochak" <ed********@mag icinterface.com > wrote in message
news:4b******** *************** ***@posting.goo gle.com... "Michael J. Moore" <NO***********@ comcast.net> wrote in message
news:<UNrcb.425 915$Oz4.221120@ rwcrnsc54>... Is it the listener process, or some other Oracle process. Also, on a
UNIX system, when you do "ps -ef" to see your processes, the PPID points back
to a process named "init". Why does the PPID not point to some other
process like, for example, the listener, or PMON, or whoever spawned it. thanks, Mike
The processes are spawned by the OS, repesented by the process called init. Talk to you UNIX admin about how this works.
Then my question back to you arises: why do you care?
If you are the DBA, then you need to hit the manuals some more. If you are not the DBA, you should not care.
(I suspect ayou are not the DBA but you feel to need to control this process somehow. If you have some problem of performance or other, post that and suggestions will come. Looking at process IDs will get you nowhere in understanding the ORACLE operations and architecture.)
HTH, ed
-- Magic Interface, Ltd. 440-498-3700
"Michael J. Moore" <NO***********@ comcast.net> wrote in message news:<ypMcb.432 226$cF.134811@r wcrnsc53>... 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."
So, which is it, "listener tell Oracle" or "listener spawns"? Or now you have given me a third option "The processes are spawned by the OS".
The reason I care is because I would like to be able to answer this question correctly if it occurs on an exam.
regards,
Mike
"Ed prochak" <ed********@mag icinterface.com > wrote in message news:4b******** *************** ***@posting.goo gle.com... "Michael J. Moore" <NO***********@ comcast.net> wrote in message news:<UNrcb.425 915$Oz4.221120@ rwcrnsc54>... Is it the listener process, or some other Oracle process. Also, on a UNIX system, when you do "ps -ef" to see your processes, the PPID points back to a process named "init". Why does the PPID not point to some other process like, for example, the listener, or PMON, or whoever spawned it. thanks, Mike
The processes are spawned by the OS, repesented by the process called init. Talk to you UNIX admin about how this works.
Then my question back to you arises: why do you care?
If you are the DBA, then you need to hit the manuals some more. If you are not the DBA, you should not care.
(I suspect ayou are not the DBA but you feel to need to control this process somehow. If you have some problem of performance or other, post that and suggestions will come. Looking at process IDs will get you nowhere in understanding the ORACLE operations and architecture.)
HTH, ed
-- Magic Interface, Ltd. 440-498-3700
The last response was not correct. The O/S doesn't know how to start
Oracle processes on it's own. The ppid of the dedicated server
processes is the init process because Oracle pulls a little trick to
make that happen.
For remote connections (i.e. over the network) the dedicated server
process is actually spawned by the listener, and Oracle then makes the
init process into the parent of that dedicated server. If the ppid
(parent process id) remained the listener, you'd never be able to
shutdown the listener without killing all of your users. The init
process didn't start the server process because it doesn't even know
how to start an Oracle process.
For local connections (i.e. on the same box, on UNIX), the dedicated
server process is actually spawned by the client process. You can
easily see this becaue the ppid of the dedicated server process is the
client. If I remember correctly, Oracle doesn't make the server
process into a child of the init process because death of the client
means the server should die.
Corrections or comments are welcome...
"Michael J. Moore" <NO***********@ comcast.net> wrote in message news:<ypMcb.432 226$cF.134811@r wcrnsc53>... 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."
So, which is it, "listener tell Oracle" or "listener spawns"? Or now you have given me a third option "The processes are spawned by the OS".
The reason I care is because I would like to be able to answer this question correctly if it occurs on an exam.
regards,
Mike
"Ed prochak" <ed********@mag icinterface.com > wrote in message news:4b******** *************** ***@posting.goo gle.com... "Michael J. Moore" <NO***********@ comcast.net> wrote in message news:<UNrcb.425 915$Oz4.221120@ rwcrnsc54>... Is it the listener process, or some other Oracle process. Also, on a UNIX system, when you do "ps -ef" to see your processes, the PPID points back to a process named "init". Why does the PPID not point to some other process like, for example, the listener, or PMON, or whoever spawned it. thanks, Mike
The processes are spawned by the OS, repesented by the process called init. Talk to you UNIX admin about how this works.
Then my question back to you arises: why do you care?
If you are the DBA, then you need to hit the manuals some more. If you are not the DBA, you should not care.
(I suspect ayou are not the DBA but you feel to need to control this process somehow. If you have some problem of performance or other, post that and suggestions will come. Looking at process IDs will get you nowhere in understanding the ORACLE operations and architecture.)
HTH, ed
-- Magic Interface, Ltd. 440-498-3700
The last response was not correct. The O/S doesn't know how to start
Oracle processes on it's own. The ppid of the dedicated server
processes is the init process because Oracle pulls a little trick to
make that happen.
For remote connections (i.e. over the network) the dedicated server
process is actually spawned by the listener, and Oracle then makes the
init process into the parent of that dedicated server. If the ppid
(parent process id) remained the listener, you'd never be able to
shutdown the listener without killing all of your users. The init
process didn't start the server process because it doesn't even know
how to start an Oracle process.
For local connections (i.e. on the same box, on UNIX), the dedicated
server process is actually spawned by the client process. You can
easily see this becaue the ppid of the dedicated server process is the
client. If I remember correctly, Oracle doesn't make the server
process into a child of the init process because death of the client
means the server should die.
Corrections or comments are welcome...
"Michael J. Moore" <NO***********@ comcast.net> wrote in message news:<UNrcb.425 915$Oz4.221120@ rwcrnsc54>... Is it the listener process, or some other Oracle process. Also, on a UNIX system, when you do "ps -ef" to see your processes, the PPID points back to a process named "init". Why does the PPID not point to some other process like, for example, the listener, or PMON, or whoever spawned it. thanks, Mike
The init process is the "initial" process that was started when the
UNIX system was booted. Everything comes after init. In UNIX, if a
process dies, then all of it's children die. If the listener was the
parent, then you wouldn't be able to bounce the listener without
killing all of the sessions. If PMON (or another background process)
was the parent of the dedicated servers, then it would have to respond
to all of the signals generated by those clients. It would get VERY
ugly from a performance perspective. The init process is the parent
because the listener MADE it be the parent. Pretty cool. Don't ask
me how they do it. They're smarter than me. mi*********@yah oo.com (Mr. DB) wrote in message news:<40******* *************** ***@posting.goo gle.com>... "Michael J. Moore" <NO***********@ comcast.net> wrote in message news:<UNrcb.425 915$Oz4.221120@ rwcrnsc54>... Is it the listener process, or some other Oracle process. Also, on a UNIX system, when you do "ps -ef" to see your processes, the PPID points back to a process named "init". Why does the PPID not point to some other process like, for example, the listener, or PMON, or whoever spawned it. thanks, Mike
The init process is the "initial" process that was started when the UNIX system was booted. Everything comes after init. In UNIX, if a process dies, then all of it's children die. If the listener was the parent, then you wouldn't be able to bounce the listener without killing all of the sessions. If PMON (or another background process) was the parent of the dedicated servers, then it would have to respond to all of the signals generated by those clients. It would get VERY ugly from a performance perspective. The init process is the parent because the listener MADE it be the parent. Pretty cool. Don't ask me how they do it. They're smarter than me.
Because they start it as a background process. From the UNIX prompt
you can perform the similar functions using the nohup command. And yes
I did leave this out of my other response. My oversight, I responded
too quickly without noting all the possibilities.
So the way they do it is actually pretty easy (a couple options during
the fork()/exec() processing).
(So much information, so hard to know how much the reader needs!)
Thanks for the assist mr DB.
Ed Prochak This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paul Eden |
last post by:
Afternoon all.
I wonder if someone might lend a little hand here?
I'm using input.htm to take some data using radio and a text field
from the user, which then "get"s them to update.php.
Now then, there is a lot of data to input, so i need to go back to
input.htm repeatedly, so, at the bottom of update.php, there is an
image which has a javascript onload command, that loads up update.php.
You probably know where this is going by now?...
|
by: Rohit |
last post by:
Hi
I've got a web site running on a Windows 2003 server (Web edition)
cluster i.e. web farm. The cluster is accessed through a virtual IP
(say a.a.a.a).
Through an asp page (asp 3.0) i need to access the dedicated IP of the
server where the request is processed.
I tried using Request.ServerVariables("LOCAL_ADDR"), but this returns
|
by: scott |
last post by:
what is the best way to send data to and query SQL 2005 server express
edition db hosted on a dedicated server with ISP ?
i need to query it directly from an application on my LAN (asp site on same
machine as sql db also needs to query db)
i can obviously use port 1433 but what other option do i have ? i.e ssl
port, xml web service ?
Any information is helpful
|
by: Liam |
last post by:
We currently have a dedicated server with Rackspace, and they've been
been great for 5 years now.
But they are SO expensive!
We're looking into GoDaddy's dedicated hosting, and they're 1/3 to
half as much but with even more features.
They have a basic external hardware firewall, Rackspace you pay
through the nose for.
They do their own full backups (restore in case of hardware failure
only) plus a very inexpensive backup server for us to...
|
by: Desmond |
last post by:
Some major websites have their own dedicated page not found error. I
do not have control of the server that is used for my website. Can I
still have my own dedicated 404 page?
Desmond.
| |
by: Michael J. Moore |
last post by:
Is it the listener process, or some other Oracle process. Also, on a UNIX
system, when you do "ps -ef" to see your processes, the PPID points back to
a process named "init". Why does the PPID not point to some other process
like, for example, the listener, or PMON, or whoever spawned it.
thanks,
Mike
|
by: =?GB2312?B?0rvK18qr?= |
last post by:
Hi all,
Recently I had a new coworker. There is some dispute between us.
The last company he worked for has a special networking programming
model. They split the business logic into different modules, and have
a dedicated thread for the each module. Modules exchanged info
through a in-memory message queue.
In my opinion, such a model means very complicated asynchronous
|
by: adlloyd |
last post by:
Hi all,
I'm doing a little research into Windows-based managed/dedicated servers.
There are a few companies that provide what I want with a reputation to back it up: rackspace.co.uk (recommended by a few people) and zen.co.uk (from personal experience of other products).
Both of these solutions are at the upper end of the price bracket (between £250 and £400 per month based on dedicated or managed). I've also found lots and lots of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |