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: ordebug flush

Re: ordebug flush

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Thu, 04 Aug 2005 01:51:07 +0000
Message-Id: <1123120267l.5031l.0l@medo.noip.com>

On 08/03/2005 09:34:09 PM, raja rao wrote:
> Hi All,
>
> Some session is throwing the trace which is causingg the mountpoint to fill up.
>
> But when i remvoe the trace, the space is not being reclaimed and mountpoint is still 100% filled.
>
> Is there any way we can stop the session throwing trace.

Yup. Turn off the event that is causing the session to spew trace. If the event is 10046, which is very rare, you could do something like:

exec sys.dbms_support.stop_trace_in_session(sid,serial)

If the event is not 10046, then the only recourse is to get into oradebug, attach it to the proper session and turn the event off like this:

SQL> oradebug event 10053 trace name context off Statement processed.

>
> I tried to use the below:
>
> oradebug setorapid nnn
> oradebug flush
> oradebug close_trace
>
> But that did not help. (at last I had to kill the session to stop trace)

Of course it didn't. The event causing the session to spew trace was sill active.

>
> Is there any way to stop trace for a currently conected session.

See above. Another way of would be to shut down the instance. I believe that "shutdown abort" can be used for that purpose.

-- 
Mladen Gogala
http://www.mgogala.com


--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 03 2005 - 20:53:11 CDT

Original text of this message

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