Generating trace file in udump

Hi,
Database is 10.1.0.5 on windows 2003. There is trace file getting generated in udump which says:
opitsk: network error occurred while two-task session server trying to send break; error code = 12152
Thanks

I'm getting the same since patching from 10.1.0.5 patch 2 to patch25 when connecting over PL/SQL Developer and quering with large resultsets:
PL/SQL Dev query session lost on large resultsets after db update
Did you solve your problem ?

Similar Messages

  • Generate Trace file when doing RMAN

    OS AIX 5.3L with Oracle 10g (10.2.0.1), Since beginning of the RMAN backup, the Oracle generated trc file in udump and it is quite big ( over my dump_file_size limit). According to Metalink, it is a bug (Bug:4529700), since 2005 and it seems happening to all platforms. So does this bug have patch yet? How can I aovid the dump trace file to avoid exploring the storage directory?

    Here is first 30 lines
    $ head -30 baan_ora_2654306.trc
    Dump file /oracleapp/apps/admin/baan/udump/baan_ora_2654306.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /oracleapp/apps/oracle/product/10.2.0/db_1
    System name: AIX
    Node name: baan
    Release: 3
    Version: 5
    Machine: 000D6DB6D600
    Instance name: baan
    Redo thread mounted by this instance: 1
    Oracle process number: 23
    Unix process pid: 2654306, image: oracle@baan (TNS V1-V3)
    *** ACTION NAME:(0000001 STARTED1) 2007-07-12 03:00:09.240
    *** SERVICE NAME:(SYS$USERS) 2007-07-12 03:00:09.240
    *** SESSION ID:(1078.11893) 2007-07-12 03:00:09.240
    ksfqxc:ctx=0x106a29f0 flags=0x30000000 dev=0x0 lbufsiz=1048576 bp=0x10566548
    *** ACTION NAME:(0000008 STARTED1) 2007-07-12 03:00:18.381
    ksfqxc:ctx=0x106a29f0 flags=0x30000000 dev=0x0 lbufsiz=1048576 bp=0x10566548
    *** 2007-07-12 03:00:20.267
    *** ACTION NAME:(0000013 STARTED62) 2007-07-12 03:00:20.267
    ksfqfret:ctx=0x106a29f0 filename=/remote/solar/flash_recovery/baan_standby/baan627362170_82_1.bkf blksiz=8192 startblk=1
    ksfqqrd:offset=1 nblocks=127 filsiz=194148
    ksfqrd:ctx=0x106a29f0 nblocks=0 wait=1
    ksfqrd:buf=0x10aec000 offset=1 blksread=127
    *** ACTION NAME:(0000014 STARTED62) 2007-07-12 03:00:21.112
    ksfqfret:ctx=0x106a29f0 filename=/remote/solar/flash_recovery/baan_standby/baan627363196_83_1.bkf blksiz=16384 startblk=1
    ksfqqrd:offset=1 nblocks=63 filsiz=75
    ksfqrd:ctx=0x106a29f0 nblocks=127 wait=1
    ...(and bottom of 20 lines)
    ksfqrd:ctx=0x1065cc08 nblocks=0 wait=0
    ksfqrd:buf=0x1172c000 offset=217601 blksread=64
    ksfqrd:ctx=0x107cfae8 nblocks=0 wait=0
    ksfqrd:buf=0x1196c000 offset=89601 blksread=64
    ksfqrd:ctx=0x108dc440 nblocks=0 wait=0
    ksfqrd:ctx=0x108dc440 nblocks=0 wait=1
    ksfqrd:buf=0x10bfc000 offset=473665 blksread=64
    ksfqrd:ctx=0x10adc538 nblocks=0 wait=0
    ksfqrd:buf=0x10e9c000 offset=217665 blksread=64
    ksfqrd:ctx=0x1069dff8 nblocks=0 wait=0
    ksfqrd:buf=0x110ec000 offset=217665 blksread=64
    ksfqrd:ctx=0x1069ccc8 nblocks=0 wait=0
    ksfqrd:buf=0x1132c000 offset=217665 blksread=64
    ksfqrd:ctx=0x1065df38 nblocks=0 wait=0
    ksfqrd:buf=0x1157c000 offset=217665 blksread=64
    ksfqrd:ctx=0x1065cc08 nblocks=0 wait=0
    ksfqrd:buf=0x117bc000 offset=217665 blksread=64
    ksfqrd:ctx=0x107cf
    *** DUMP FILE SIZE IS LIMITED TO 5242880 BYTES ***
    because of the limit of my dump_file_size, so it stopped and Oracle generates another small one.
    and these trace file always were generated at the end of the RMAN backup.
    If you read the bottom of the note, it mention the bug: 4529700 -- Trace File Created During Rman Database Backup and in that note: it gave an example content of the file. You probably refereed to another bug: 4596065, which generated an empty trace.

  • No trace files in udump and bdump.

    Dear all,
    I have oracle 10g on linux.
    There are no files in folder bdump and udump.What could be the reason.
    Is there any parameter that need to be set.
    Please advice.
    Regards,
    Amit.

    Hello Amit,
    Looks pretty strange you have all parameters set properly and you have physical directories available but you are not seeing any trace files.
    Try this little test and see if oracle generates trace files.. or not.
    $ more trace.sh
    sqlplus / << DOC
    grant alter session to scott;
    conn scott/tiger
    create trigger logon_trigger
    after logon on schema
    begin
      execute immediate
      'alter session set events ''10046 trace name context forever, level 12''';
    end;
    DOC
    $ sh trace.sh
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 2 16:18:04 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
    Grant succeeded.
    SQL> Connected.
    Trigger created.
    << check udump directory >>
    # /u01/oracle/admin/TEST/udump $ ls
    total 2
    -rw-r--r--   1 oracle   oinstall     136 Jan  5 11:24 tkprof.sh
    << Login and run some SQL statements >>
    # /u01/oracle/admin/TEST/udump $ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 2 16:18:15 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
    SQL>select * from tab;
    TNAME                          TABTYPE  CLUSTERID
    EMPLOYEES                      TABLE
    TESTING                        TABLE
    EMP                            TABLE
    DEPT                           TABLE
    BONUS                          TABLE
    SALGRADE                       TABLE
    DUMMY                          TABLE
    7 rows selected.
    SQL> exit
    Disconnected from Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
    << check for trace files in udump directory >>
    u0002sfo: /u01/oracle/admin/TEST/udump $ ls -l
    total 274
    -rw-r-----   1 oracle   oinstall  129758 Jun  2 16:18 test_ora_11030.trc
    -rw-r--r--   1 oracle   oinstall     136 Jan  5 11:24 tkprof.shJust a guess.. Are there any cronjob(s) running to clean up bdump/udump/cdump directories periodically.
    -Sri
    Message was edited by:
    Srikanth Pulikonda

  • Oracle generate trace file when log switch

    Hi,
    i am using oracle 9.2.3 on solaris 9. I found oracle generate a trace file in UDUMP directory when log file switch.
    could anyone tell me how to tell oracle not to generate the trace file when log switch?
    thanks a log

    During switch are seeing any error in alert log? By the way what is the content of that trace file? Is any event set in your init.ora?
    Thanks and Regards,
    Satheesh Babu.S
    Bangalore

  • Generate trace file with required name

    hi all,
    as a sys user i want to trace a user session. so i am using
    SQL> EXEC DBMS_SYSTEM.set_sql_trace_in_session(sid=>123, serial#=>1234, sql_trace=>TRUE);
    SQL> EXEC DBMS_SYSTEM.set_sql_trace_in_session(sid=>123, serial#=>1234, sql_trace=>FALSE);
    to trace. but this trace file is mixing with another trace files in udump.
    did some google and found that we can use ALTER SESSION SET TRACEFILE_IDENTIFIER = "MY_TEST_SESSION". but this will generate trace file for sys user account not for the desired user session. how we can define trace file name for desired user session trace.
    Please let me...
    thanks

    >but this trace file is mixing with another trace files in udump.
    above is NOT true for any *NIX Operating System.
    The trace file name will contain the OS ProcessID#
    is this application 3-tier/
    does application utilize connection pooling?
    It appears that you post frequently & reply/respond very infrequently.
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • How can reduce generate trace file.

    Hi all,
    how can reduce generate trace file.
    frequently created sql trace file in oracle 10g
    approximate 5g in one day.
    and database size 10gb
    os windows

    If you cannot disable the tracing for some reason, consider setting maximum file size for the dump.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams116.htm#CHDIABEI

  • How to Generate Trace Files in SQL*Plus

    Hi Friends ,
    How to Generate Trace Files in SQL*Plus ?
    i have no idea
    thanks
    raj

    What trace files would you like to generate?
    Are we talking SQL trace files?
    ALTER SESSION SET sql_trace = TRUE;This will be generated in the user_dump_dest on the server.
    show parameter dump

  • How to generate trace file from different session?

    I have a cron job which starts several Oracle stored proc (Oracle 9.2). I want to generate a trace file when the job is running. I know I can use this alter session command before I start this job. But this is my session not the job session. So this command won't generate trace file for job's session.
    ALTER SESSION SET EVENTS '10046 TRACE NAME CONTEXT FOREVER, LEVEL 8';
    Appreciate any ideas.
    Thanks.
    S.

    Easiest way is to use database control/grid control - click trace session button!
    The 'old fashioned way is'
    begin
    DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION(SID,serial#,TRUE);
    end;
    find sid and serial# in a select from v$session
    There are other ways too but this is probably the easiest.
    You'll need appropriate privileges to run this .
    Cheers,
    Harry

  • How to generate Trace files

    Hi,
    I have a package under which there are some procedures and functions.
    I am supposed to generate the trace files for each run of the procedures in the package.
    How to generate trace files? Pls help me out.
    Thanks in advance
    Regards,
    Vijay

    I dont have access to production server to see the
    trace file. Is there a way to see the content of the
    trace file from client machine?No. At least there isn't one without additional work from your administrator. I remember I've seen somewhere some kind of solution when user_dump_dest is used as oracle directory (specific oracle object) in your db and then use either external tables or utl_file or something like that to read the trace file. Of course this assumes your DBA should do some work before.
    However I'd say that simply getting trace file from server is much easier :)
    Consider, Autotrace option in sqlplus. With the help
    of Autotrace set option, we can see the trace output
    on the sqlplus screen for the anonymous blocks. Different tool, different behaviour.
    Is there a way to see the trace for the stored
    procedures?Explained above.
    Gints Plivna
    http://www.gplivna.eu

  • Unable to generate trace file

    Hi,
    I have written the stored procedure for starting sql trace on a given session for say n number of seconds.
    create or replace procedure start_trace
    v_sid in number,
    v_serial# in number,
    seconds in number)
    IS
    v_user varchar2 (32);
    duration number;
    dump_dest varchar2 (200);
    db_name varchar2 (32);
    no_session_found exception;
    stmt varchar2(100);
    stmt1 varchar2(100);
    BEGIN
    begin
    select username into v_user
    from v$session
    where sid= v_sid and
    serial# = v_serial#;
    exception
    when NO_DATA_FOUND then
    raise no_session_found;
    end;
    dbms_output.put_line('Tracing Started for User: '|| v_user);
    dbms_output.put_line('Tracing Start Time: '|| TO_CHAR(SYSDATE, 'MM-DD-YYYY HH24:MI:SS'));
    dbms_system.set_sql_trace_in_session(v_sid,v_serial#,true);
    if seconds is null then
    duration := 60;
    else
    duration := seconds;
    end if;
    dbms_lock.sleep(duration);
    dbms_system.set_sql_trace_in_session(v_sid,v_serial#,false);
    dbms_output.put_line ('Tracing Stop Time: '|| TO_CHAR(SYSDATE, 'MM-DD-YYYY HH24:MI:SS'));
    select value into dump_dest
    from v$parameter
    where name = 'user_dump_dest';
    dbms_output.put_line('Trace Directory: ' || dump_dest);
    exception
    when no_session_found then
    dbms_output.put_line('No session found for sid and serial# specified');
    END start_trace;
    The above procedure compiles successfully and when I call it from sql prompt it gives me the message that the pl/sql procedure was completed successfully and all put_line statements are displayed.
    Real problem comes when I check udump for the trace file. I can not find it there. It seems all the statements in the procedure are executed successfully except dbms_system.set_sql_trace_in_session(v_sid,v_serial#,true) and dbms_system.set_sql_trace_in_session(v_sid,v_serial#,false) for some strange reasons.
    Any help will be appreciated.
    Thanks.

    Thanks for the reply.
    I do not get any error message. The following is the output:
    SQL> exec start_trace(118,6243,30);
    Tracing Started for User: SVCWRK
    Tracing Start Time: 09-26-2011 16:28:29
    Tracing Stop Time: 09-26-2011 16:28:59
    Trace Directory: /orasoft/app/oracle/admin/testsvcb/udump
    PL/SQL procedure successfully completed.
    But the trace file is not generated.
    I am using Oracle 10.2.0.4.0.
    Will try using DBMS_MONITOR.
    Thanks again.

  • Generating Trace file for ODI Sessions

    ODI Gurus
    am new to ODI, for one of our integration project am using ODI for transforming data from Source to Target Instance.
    Oracle Database is installed on both Source and Target instances. Is there a way to generate Database Trace files for ODI sessions triggered.
    If yes can you provide the steps to enable/disable database trace for ODI sessions.
    Regards
    Uma Shankar

    Hi Uma Shankar,
    My assumptions:
    1.) You want to selectively enable Oracle tracing when only the ODI scenarios are executed and not otherwise.
    If that is the case then you will have to add some external steps comprising of OS commands and variables that will control if those steps are to be executed or not. These steps will invoke the OS commands to start Oracle tracing.
    2.) You know the steps to create a package and know how to use Interfaces and other ODI utilities in the flow of the package.
    3.) You know how to create and execute scenarios
    Steps to Selectively enable tracing.
    1.) Add a variable named V_START_TRACE to the package. This variable will be passed a value from scenario which will determine if you want to enable to trace or not. This variable type is EVALUATE and can have 2 values - TRUE or FALSE. You will have to check for the condition and depending on the condition you will take a path forward.
    2.) Add 2 OS commands to the package - OS_START_TRACE and OS_END_TRACE
    3.) Create 2 shell scripts (or bat files) - odi_start_trace.sh and odi_end_trace.sh with the following commands:
    odi_start_trace.sh :-
    sqlplus session - ALTER SYSTEM SET trace_enabled = TRUE;
    odi_end_trace.sh :-
    sqlplus session - ALTER SYSTEM SET trace_enabled = FALSE;
    You need to invoke SQLPLUS sessions from the above shell scripts to enable/disable the oracle level tracing.
    4.) Add the above shell scripts to the OS commands created in Step 2.
    5.) Join the steps in the following order in the package :
    V_START_TRACE (OK) ->OS_START_TRACE (OK) -> <<+Your Actual Integration Code+>>(OK) -> OS_END_TRACE
    V_START_TRACE (KO) -> <<+Your Actual Integration Code+>>(OK)
    The above KO variable statement doesnt start the trace if the evaluated value doesnt = TRUE. So this will let you do a selective trace.
    6.) Create the scenario from the package and execute the scenario by passing it a value "TRUE" for variable V_START_TRACE.
    Check the startscen.sh syntax, something like:
    *>startscen.sh ... "GLOBAL.V_START_TRACE=TRUE"*
    The above is a general solution for enabling trace for any RDBMS
    If you need any more information, feel free to ping back.

  • Why backup controlfile to trace doesn't produce the trace file in udump?

    Hi there,
    I recently redirected some of the data files on different drives. I started nomount with pfile and created new controlfile with the new datafile locations. I was able to open db and saw the new location of the db files. But when I trace the controlfile, I didn't see the trace file on the udump. Could anybody explain why?

    also, when I did the show parameter I got the following results:
    SQL> show parameter spfile
    NAME TYPE VALUE
    spfile string
    SQL> show parameter pfile
    NAME TYPE VALUE
    spfile string
    I did startup the db with pfile and open it with resetlogs. I created spfile from pfile. Why I'm not seeing the location of the pfile or spfile? Could you please help me understand this?

  • Generate trace file for a certain transaction

    Experts,
    I am trying to generate a trace file for a certain transaction for a period of time.
    I used tx st03 > transaction profile > double click on transaction and am able to get a list for the day. How do I set the date to generate for the month for example?
    Thanks,
    Iqbal

    Since you post the question in security forum, not peformance or platform forum, I guess are looking for system auditing function.
    then SM19/SM20 might be the choice, you can read through
    http://help.sap.com/saphelp_nw70/helpdata/EN/c7/69bcb7f36611d3a6510000e835363f/frameset.htm

  • Generate trace file for a certain transaction by dates

    Experts,
    I am trying to generate a trace file for a certain transaction for a period of time.
    I used tx st03 > transaction profile > double click on transaction and am able to get a list for the day. How do I set the date to generate for the month for example?
    Thanks,
    Iqbal

    Hi Iqbal,
    In Tr. ST03 itself, you have three ranges. Day, Week and Month.
    Just select the month. Expand it. Select which month you want.
    Then check Transaction Profile. It should give you the details for the whole month.
    Cheers....,
    Raghu

  • How to SQL trace File in udump Folder

    Hi,
    I kept the Sql Trace for one database. Now i am getting the bulk of files in udump folder. I tryed the command
    ALTER SESSION SET SQL_TRACE=FALSE
    to stop the trace, but it is not stoping.
    Now my problem is how to stop this file load in to that folder.
    Thank u,

    hi,
    Thank u alok, Thank u very much. its working fine.
    U told first that it is my mistake of enabling in database level. What are the real commands to start the trace and stop the trace by that session. What the Oracle Books says is this commands i followed ( Book name --- ORACLE HIGH PERFORMANCE TUNING FOR 9i AND 10g BY GAVIN POWELL ) Page -- 339
    ALTER SESSION SET TIMED_STATISTICS = TRUE;
    ALTER SESSION SET TIMED_OS_STATISTICS = 5;
    ALTER SESSION SET MAX_DUMP_FILE_SIZE=1M;
    ALTER SESSION SET SQL_TRACE = TRUE;
    ALTER SESSION SET STATISTICS = ALL;
    This command i followed. This is for session only, then why this is happened in database level.
    Can u provide me the commands for start and stop the SQL TRACE.
    Thank u for ur reply.

Maybe you are looking for

  • Getting PO account assignment on both sides of the GR/IR accounting doc.

    When the GR/IR accounting document is created in our system for a PO item that is account assigned to an order, network or cost centre, the following occurs. On the Goods Receipt, the GR/IR account does not capture the cost assignment on the GR/IR po

  • Can I install windows 7 on my macbook and erase mac os

    As I know, most macs that run win7 have dual systems. My question is that is it possible to make win7 the only system for my macbook? My laptop is macbook061 in late 2007, the system of which is mac os 10.5.8. Thank you!

  • Box wise packing slip

    hi, the packing scenario is a under: 1. finished items packed in a small box. One item in one samll box. 2. the small boxes are then packed into corrugated box. suppose 10 small boxes are packed in one corrugated box. 3. then corrugated boxes are pac

  • Settings being reset upon shuttdown

    Recently (as of today) my MacBook Pro has been having issues "remembering" my settings/preferences for various applications/tools. Several miscellaneous things are being forgotten regardless of my continuous efforts to reapply them: View options for

  • JCo request failed Last Retry

    Hello SAP GURUS I am getting the following ERROR in XI 3.0 sxmb_ifr > RWB>Component Monitoring -->Bussiness Process Engine shows red with the following ERRORS message Please help Message: JCo request failed Stacktrace: com.sap.aii.rwb.exceptions.Jayc