Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Oracle sessions and OS processes

Re: Oracle sessions and OS processes

From: yong huang <yong321_at_yahoo.com>
Date: Thu, 12 Oct 2000 07:52:06 -0700 (PDT)
Message-Id: <10647.119070@fatcity.com>


Linda,

v$session_longops is known to be buggy even though Oracle hasn't acknowledged it.

The reason why your runaway process can have a longer accumulated time than smon/pmon may be that the accumulated time is not the elapsed time; instead it's process execution time. Even if SMON or any other background process has a status ACTIVE in v$session, they still don't have execution time equal to elapsed time at the OS level. A major portion of their "active" activity is simply sleep. But your runaway process may be doing a lot of active work consuming CPU. Again, I suggest you kill (or kill -9) the process on command line.

Please correct me if there's any error.

Yong Huang
yong321_at_yahoo.com

you wrote:

Yong,
In fact the join on serial# was provided by Oracle Technical support. Attached the file for reference. I am going to open another tar and request Oracle Co. to clear this misleading.

The OS process number generated by your join makes more sense for me. Sep 1 is the database started time which also supposed to be the application started time. Then, the accumulated time is even larger than the smon/pmon time. It is continuously growing. It is scaring me.

SQL> select spid, sid, a.serial#, b.username   2 from v$session a, v$process b
   where a.serial#=9 and a.paddr=b.addr; 3

SPID SID SERIAL# USERNAME --------- ---------- ---------- --------------- 1343 172 9 oracle

$ ps -ef|grep 1343
  oracle 1343 1 12 Sep 01 ? 28233:41 oracleDEEP (LOCAL=NO)



Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere! Received on Thu Oct 12 2000 - 09:52:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US