<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Questions about Oracle related processes as shown by the ps command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950239#M789712</link>
    <description>hi Frank,&lt;BR /&gt;&lt;BR /&gt;below an extract from metalink note:158281.1 &lt;BR /&gt;Subject:  Description OF LOCAL=YES on TNS Connections &lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;The LOCAL=YES is more likely to be the User's shadow process connected to the Database.&lt;BR /&gt;&lt;BR /&gt;While &lt;BR /&gt;&lt;BR /&gt;The LOCAL=NO will be deamons or processes like the Intelligent Agent connected to the Database.&lt;BR /&gt;  &lt;BR /&gt;When you connect as  sqlplus username/password &lt;BR /&gt;without specifying a TNS connect string (i.e @prod), you would get oracle (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=tcp.... &lt;BR /&gt;&lt;BR /&gt;If you did specify a TNS connect string, then the processes you would see would like like this: &lt;BR /&gt; oracle (DESCRIPTION=(LOCAL=NO)(ADDRESS=(PROTOCOL=tcp.... &lt;BR /&gt;&lt;BR /&gt;because you would be connecting through sqlnet and the connection has to be routed through a listener.&lt;BR /&gt;&lt;BR /&gt;To summarise, every dedicated connection to the database will result in the creation of an oracle process.Whether or not it is local=YES or&lt;BR /&gt;local=NO depends on how you are connecting (SQLNET or not).&lt;BR /&gt;&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;hope this clarifies everything.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
    <pubDate>Thu, 05 Jan 2006 01:47:35 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2006-01-05T01:47:35Z</dc:date>
    <item>
      <title>Questions about Oracle related processes as shown by the ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950234#M789707</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am not knowledgeable about Oracle whatsoever.  &lt;BR /&gt;&lt;BR /&gt;I have an HP-UX 11.11 system running Oracle with a database having a SID named "ora".  &lt;BR /&gt;&lt;BR /&gt;When I run a ps command on the system, it shows a 122 "oracleora" processes.  I assume the the "oracleora" name is a concatenation of the text string "oracle" with the SID name, "ora" appended to it.  &lt;BR /&gt;&lt;BR /&gt;Of the 122 oracleora processes, 28 can be categorized as (LOCAL=YES) and have a parent PID of an in-house developed application that utilizes Oracle.  &lt;BR /&gt;&lt;BR /&gt;The remaining 94 oracleora processes show (LOCAL=NO) and all have PPIDS of 1, which is the init process.&lt;BR /&gt;&lt;BR /&gt;I have attached a text file containing the actual "ps" output from the system.&lt;BR /&gt;&lt;BR /&gt;My questions are:&lt;BR /&gt;&lt;BR /&gt;1.  What does LOCAL=(YES|NO) mean?&lt;BR /&gt;2.  Why do the LOCAL=NO processes have a PPID of 1 (init)?&lt;BR /&gt;3.  Is an "oracleora" process with a parent of init normal behavior or is this an indication of these processes are orphans?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance......&lt;BR /&gt;Frank&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jan 2006 15:23:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950234#M789707</guid>
      <dc:creator>Frank Fitch_1</dc:creator>
      <dc:date>2006-01-04T15:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Oracle related processes as shown by the ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950235#M789708</link>
      <description>1. LOCAL=YES means the process was spawned on the local machine. LOCAL=NO means it was spawned by a client using Net8 (or whatever Oracle is calling their SQL*Net software these days and what version of Oracle RDBMS you're using).&lt;BR /&gt;&lt;BR /&gt;2 and 3. The PPID of 1 is normal. Oracle probably exec()'s the process.</description>
      <pubDate>Wed, 04 Jan 2006 15:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950235#M789708</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-01-04T15:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Oracle related processes as shown by the ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950236#M789709</link>
      <description>Shalom Frank,&lt;BR /&gt;&lt;BR /&gt;How Oracle starts depends on how its configured. This has to be donemanually in older oracle releases.&lt;BR /&gt;&lt;BR /&gt;There should be a file called /sbin/init.d/oracle&lt;BR /&gt;&lt;BR /&gt;In it is the start stop instructions or the oracle server software.&lt;BR /&gt;&lt;BR /&gt;The ps output is a little hard to look at, perhaps next time filter it.&lt;BR /&gt;&lt;BR /&gt;ps ... | grep oracle&lt;BR /&gt;&lt;BR /&gt;The PPID of 1 does imply that the init process spawned the actual process. Since the proceses for the database are owned by oracle   I feel the startup is not problematic.&lt;BR /&gt;&lt;BR /&gt;I noticed you have a local httpd server running which installs with the OS, along with the administrative httpd(web) server that comes with Oracle. If you are not using those, you might improve system performance marginaly not not auto starting those daemons.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 04 Jan 2006 17:36:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950236#M789709</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-04T17:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Oracle related processes as shown by the ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950237#M789710</link>
      <description>&lt;BR /&gt;Just a little more info for you: &lt;BR /&gt;&lt;BR /&gt;This 'beq' on the LOCAL=YES signifies a local communication protocol. Some of the alterntives are IPC for local, and TPC for remote connections.&lt;BR /&gt;As you can observe, those local 'slaves' are created by other local processes, often with a PID just one or 2 lower than those  'background' slave processes.&lt;BR /&gt;&lt;BR /&gt;The remote tasks are created by "The Listener".&lt;BR /&gt;In your case:&lt;BR /&gt;oracle    2535     1  1  Oct 17  ?        11:52:57   /users/oracle/product/9.2.0/bin/tnslsnr LISTENER -inherit&lt;BR /&gt;&lt;BR /&gt;To learn more about the connections as they come and go: su - oracle; lsnrctl status&lt;BR /&gt;This will point to a log which you can tail -f&lt;BR /&gt;&lt;BR /&gt;For the real details you'll have to ask Oracle itself nicely. You don't want to learn that here, but ask the folks around. you. You'll need an interface program like SQLPLUS and you'll want to query internal tables like V$SESSIONS and V$PROCESS (sp?)&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jan 2006 19:46:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950237#M789710</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-01-04T19:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Oracle related processes as shown by the ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950238#M789711</link>
      <description>Hi Frank,&lt;BR /&gt;&lt;BR /&gt;When you see a number of oracle process on the server, some of then are the oracle background processes which manage the Oracle RDBMS. These process must always be running for the server to be available; others are optional on all platforms; and some are optional and specific to certain platforms.&lt;BR /&gt;&lt;BR /&gt;For example  A = Must always be running. The following are the background process.&lt;BR /&gt;DBWR (A) - the database writer&lt;BR /&gt;LGWR (A) - the log writer&lt;BR /&gt;PMON (A) - the process monitor&lt;BR /&gt;SMON (A) - the system monitor&lt;BR /&gt;&lt;BR /&gt;On UNIX, a separate operating system process is created to run each of the background functions listed above.&lt;BR /&gt;&lt;BR /&gt;The default Net driver on Oracle on UNIX has two main purposes. One is to 'spawn' subprocesses and pass / receive message(s) to / from the spawned process. The other is to provide a default local SQL*Net connection layer that does NOT require any listener process.&lt;BR /&gt;&lt;BR /&gt;Once connected a process listing (Using the ps command) will show&lt;BR /&gt; two processes - 'sqlplus' and 'oracle'. Eg:&lt;BR /&gt;&lt;BR /&gt;        PID  PPID PROCESS&lt;BR /&gt;     6598 6367 sqlplus scott/tiger&lt;BR /&gt;     6600    1 oracleA (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))&lt;BR /&gt;&lt;BR /&gt;Here are answeres to your questions.&lt;BR /&gt;&lt;BR /&gt;1. What does LOCAL=(YES|NO) mean?&lt;BR /&gt;&lt;BR /&gt;You see processes on server as follows:&lt;BR /&gt;&lt;BR /&gt;oracleSID(DESCRIPTION=(LOCAL=YES) or as       &lt;BR /&gt;oracleSID(DESCRIPTION=(LOCAL=NO)&lt;BR /&gt;&lt;BR /&gt;The LOCAL=YES is more likely to be the User's shadow process connected to the Database.&lt;BR /&gt;While The LOCAL=NO will be deamons or processes like the Intelligent Agent connected to the Database.&lt;BR /&gt;  &lt;BR /&gt;When you connect as sqlplus username/password without specifying a TNS connect string (i.e @prod), you would get  oracle (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=tcp..... &lt;BR /&gt;&lt;BR /&gt;If you did specify a TNS connect string, then the processes you would see would like like this: &lt;BR /&gt;oracle (DESCRIPTION=(LOCAL=NO)(ADDRESS=(PROTOCOL=tcp...... &lt;BR /&gt;&lt;BR /&gt;because you would be connecting through sqlnet and the connection has to be routed through a listener.&lt;BR /&gt;&lt;BR /&gt;To summarise, every dedicated connection to the database will result in the creation of an oracle process. Whether or not it is local=YES or local=NO depends on how you are connecting (SQLNET or not).&lt;BR /&gt;&lt;BR /&gt;2. Why do the LOCAL=NO processes have a PPID of 1 (init)?&lt;BR /&gt;3. Is an "oracleora" process with a parent of init normal behavior or is this an indication of these processes are orphans?&lt;BR /&gt;&lt;BR /&gt;The bequeath driver spawns a subprocess which then executes a program.  In the case of a standard database connection the program executed is the Oracle executable. &lt;BR /&gt;&lt;BR /&gt;On some UNIX platforms the bequeath driver performs a 'double fork' such that it spawns a process which then spawns a further process and the 'middle' process drops out. The Oracle shadow process becomes 'orphaned' and hence its parent becomes 'init'. &lt;BR /&gt;This is to avoid potential problems with signal handling (SIGCHLD) and 'wait' code in the client process. Process listings of local SQL*Net connections thus show '1' for the 'parent id' of such an Oracle shadow process. This is quite normal and does NOT indicate a rogue process as was the case under SQL*Net V1. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Indira A</description>
      <pubDate>Wed, 04 Jan 2006 20:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950238#M789711</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2006-01-04T20:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Oracle related processes as shown by the ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950239#M789712</link>
      <description>hi Frank,&lt;BR /&gt;&lt;BR /&gt;below an extract from metalink note:158281.1 &lt;BR /&gt;Subject:  Description OF LOCAL=YES on TNS Connections &lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;The LOCAL=YES is more likely to be the User's shadow process connected to the Database.&lt;BR /&gt;&lt;BR /&gt;While &lt;BR /&gt;&lt;BR /&gt;The LOCAL=NO will be deamons or processes like the Intelligent Agent connected to the Database.&lt;BR /&gt;  &lt;BR /&gt;When you connect as  sqlplus username/password &lt;BR /&gt;without specifying a TNS connect string (i.e @prod), you would get oracle (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=tcp.... &lt;BR /&gt;&lt;BR /&gt;If you did specify a TNS connect string, then the processes you would see would like like this: &lt;BR /&gt; oracle (DESCRIPTION=(LOCAL=NO)(ADDRESS=(PROTOCOL=tcp.... &lt;BR /&gt;&lt;BR /&gt;because you would be connecting through sqlnet and the connection has to be routed through a listener.&lt;BR /&gt;&lt;BR /&gt;To summarise, every dedicated connection to the database will result in the creation of an oracle process.Whether or not it is local=YES or&lt;BR /&gt;local=NO depends on how you are connecting (SQLNET or not).&lt;BR /&gt;&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;hope this clarifies everything.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 05 Jan 2006 01:47:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950239#M789712</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-01-05T01:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Oracle related processes as shown by the ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950240#M789713</link>
      <description>Thanks all for your help and your quick responses !!!!  Frank</description>
      <pubDate>Thu, 05 Jan 2006 08:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950240#M789713</guid>
      <dc:creator>Frank Fitch_1</dc:creator>
      <dc:date>2006-01-05T08:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Oracle related processes as shown by the ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950241#M789714</link>
      <description>.</description>
      <pubDate>Thu, 05 Jan 2006 08:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/questions-about-oracle-related-processes-as-shown-by-the-ps/m-p/4950241#M789714</guid>
      <dc:creator>Frank Fitch_1</dc:creator>
      <dc:date>2006-01-05T08:45:04Z</dc:date>
    </item>
  </channel>
</rss>

