Oracle background process dying

Hi
I was wondering if anyone else had seem this problem and had any
solutions on it?
We have Oracle 8.0.5 install on Redhat, the install process went
through smoothly and everything runs okay to the best of our
knowledge and we have three instances running on the machine more
for testing than any production work, yet! Also one of the
instances has webdb installed on it.
Okay the problem we are seeing is as follows, we startup the
databases and leave them up but when we come back to the system
and check the system with the 'ps ax' command a number of the
background processes have disappeared, initially smon & dbwr but
this is not always the case and I have come back to the system to
see only two of the original six processes running sometimes we
are still able to connect to the database and do selects and
updates, etc but normally we have to shutdown and restart the
instances. There are no error logs generated and I've checked all
the relevant directories i.e. bdump, udump, etc and right now we
are at a loss to discover the problem.
My concern at the moment is not wanting to put a production
system on this without being able to firstly identifiy the
problem or to solve it.
Any feedback would be appreciated.
null

Thanks I'll give that a try
Byron
Joe Johnson (guest) wrote:
: Byron Coke (guest) wrote:
: : databases and leave them up but when we come back to the
system
: : and check the system with the 'ps ax' command a number of the
: : background processes have disappeared, initially smon & dbwr
: <snip>
: : are still able to connect to the database and do selects and
: : updates, etc but normally we have to shutdown and restart the
: : instances. There are no error logs generated and I've checked
: I've only seen this happen when you do not have enough memory
to
: hold the Oracle SGA, Oracle background processes, and OS all at
: the same time. What you may be seeing is the OS swapping out
the
: DBWR, LGWR, PMON, SMON, and/or CKPT processes due to low memory
: availablility.
: Oracle does occasionally stay up when these procsses swap to
: disk, but only temporarily. It will crash eventually.
: To test the theory, make your SGA smaller by editing the
: following init.ora parameters:
: shared_pool_size (specified in bytes)
: db_block_buffers (specified in number of buffers)
: log_buffer (specified in bytes)
: an then try re-starting the instance. Remember too that each
: user process connected to Oracle consumes memory of about 1-2MB
: depending on your configuration.
: Hope this helps.
: Joe
null

Similar Messages

  • Restarting oracle background process

    Hi all,
    How can I restart an oracle background process "database writer" (ora_dbw0) without
    restarting the oracle database?
    Can I use "kill -HUP PID"?
    Thanks alot.
    George

    if database statrts up without any intervention, no recovery is needed.
    but to be on the safe side, check SM21, ST22 and SM37 for cancelled jobs.

  • How to examine Oracle background process (SMON, PMON, DBW0, ...) on WIN OS

    Dear All :
    In Linux/Unix OS , we can check Oracle background process with command
    ps -ef | grep ora
    ,but how to check on Windows OS ? Can anyone show me how to do that...
    thanks alot ~
    with regards

    set line 400
    select
    A.SID,
    A.SERIAL#,
    A.PROGRAM,
    P.PID,
    P.SPID,
    A.OSUSER, /* Who Started INSTANCE */
    A.TERMINAL,
    A.MACHINE,
    A.LOGON_TIME,
    B.NAME,
    B.Description
    ,P.PGA_USED_MEM
    ,P.PGA_FREEABLE_MEM
    ,P.PGA_MAX_MEM
    from
    v$session A,
    v$process P,
    v$bgprocess B
    where
    A.PADDR=B.PADDR
    AND A.PADDR=P.ADDR
    --and   A.type='BACKGROUND'
    --Alternative (you can use BACKGROUND column from v$process )
    AND P.BACKGROUND=1
    HTH
    Girish Sharma

  • Oracle 9i background process

    Hi,
    Currently I am doing ORACLE 9i Data Guard on HP-UX, I find there are some strange background process, such as "nsv1", "lns0" and "rsm0". I am familiar with smon, pmon, etc, but those new processes are new to me. I researched Oracle doc and Metalink, there is no place talking about those processes.
    Do you know any place I can get explanation of all the Oracle background process?
    Thanks

    Here is a quick description directly from the database:
    TEST> select name, description from v$bgprocess where name in ('NSV1','LNS0','RSM0');
    NAME  DESCRIPTION
    LNS0  Network Server 0
    RSM0  Data Guard Broker Resource Guard Process 0
    NSV1  Data Guard Broker NetSlave Process 1Yoann.

  • Regarding Background processes

    Hi,
    I need information regarding the Oracle background processes how it works internally step by step process for all the Background Processes and kindly tell me is their any duration for all the processes and kindly tell me is their online site so that i can learn and tell me how do we manage the tablespaces and i do not know sql kindly tell me how to learn sql and pl/sql?if you provide me the link for all these i would be garteful.
    regards,
    sudhir

    ... and specifically start the reading from Oracle Concepts.....In the paragraph(s) regarding the Oracle bkg processes , there are links that direct you to other more detailed docs....
    Have a good reading.....
    Greetings...

  • Abnormal increment in background processes on AIX unix (oracle8i)

    Hi
    We have a problem running oracle8i on AIX unix. Our system is having two
    parallel IBM RS6000 servers. Both running in HACMP env. We are using oracle8i with almost 350 clients.
    For the last few days we observed that total no of oracle background processes abnormally increasing and touches 400 on each server. We got this information from following command
    ps -ef |grep ora |wc -l
    The moment it reaches 400 no more sessions are able to connect to the database.
    One more thing we have observed that about 150 processes are defunct, which we get from using following commands
    ps -ef |grep defunct | wc -l
    On killing these processes using
    kill -9 <pid>
    system is unable to kill it.
    When we query from v$session connecting to each servers we hardly found total number of sessions more than 225 on each server.
    If anybody has any idea why so many processes are spawned and how to control them please mail me the solution. Or if u require some more information about the system and oracle parameters please let me know. My email_id is
    [email protected]
    Thanks
    SHAKEEL AHMAD

    You compare v$process with v$session.
    If you have any defunc process, they wont appear in the v$session. But, they resides in the v$process. You need to kill them from the os prompt.
    SELECT spid
    FROM v$process
    WHERE NOT EXISTS ( SELECT 1
    FROM v$session
    WHERE paddr = addr)
    This query gives the osid of all the defunc process and kill them using kill -9 on os.
    Are your connection coming from jdbc? Also, you can make use of DCD Dead Connection Detector.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:8284822833477458404::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1784142376742
    Jaffar
    Message was edited by:
    The Human Fly

  • Oracle Application Services Background Processes

    Hi all,
    Can any one list the Oracle Application services background processes.
    adopmnctl.sh
    adalnctl.sh
    adapcctl.sh
    adoacorectl.sh
    adformsctl.sh
    adoafmctl.sh
    adcmctl.sh
    jtffmctl.sh
    Ex: adcmcttl.sh  --->  FNDLIBR
    Thanks,
    Ramaraju

    Hi Ramaraju,
    You can identify the background process as below:
    For - adopmnctl.sh | adapcctl.sh | adoacorectl.sh | adformsctl.sh | adoafmctl.sh
    ./adopmnctl.sh status -l
    For Example :
    Above command will give you the process id (Refer pid column) as shown below:
    ---------------------------------+--------------------+---------+----------+-
    ias-component                    | process-type       |     pid | status   |
    ---------------------------------+--------------------+---------+----------+-
    OC4JGroup:default_group          | OC4J:oafm          |   13457 | Alive    |
    OC4JGroup:default_group          | OC4J:forms         |   13386 | Alive    |
    OC4JGroup:default_group          | OC4J:oacore        |   13234 | Alive    |
    HTTP_Server                      | HTTP_Server        |   13177 | Alive    |
    ps -ef|grep <pid>
    For - adalnctl.sh -
    ps -ef|grep lsnr
    Regards,
    Kiran

  • Discoverer 4i Processes Die on Unix

    Does anyone have this problem in the version of Discoverer that comes with 9iAS 1.0.2.2?
    I am starting my Discoverer processes using the three script files startall.sh, applypreferences.sh and registerall.sh. But when I log off the machine, all the Discoverer processes die and no Discoverer connections can be made. The only way I can keep Discoverer connectivity up is by remaining logged in as the user on the unix box who started the shells indefinitely. During this time all Discoverer connectivity is fine.
    I'm on Solaris 2.6 and my oracle user's $SHELL variable is /bin/sh. I have tried putting the jobs in the background and cron -- nothing works.
    Any ideas? Thanks..
    Kate

    I'm assuming because you're using 9iAS 1.0.2.2 that you are using Discoverer 4.1. I haven't had any problems with 4.1. I remember that Discoverer 3i did die when I logged out. I didn't bother to get it to work because we had so many other problems.

  • Background process taking very long time to complete.

    Dear All,
    Platform: HP UX
    Version: 12.0.6
    While time of shutting down the instance below background process taking very long time to complete.
    what is below mention process? can i kill it? total 3 process i am getting while finding ps -ef|grep applpre(applepre is apps instance's owner)
    applpre/apps/tech_st/10.1.3/appsutil/jdk/bin/IA64N/java -DCLIENT_PROCESSID=5457 -server -Xmx384m -XX:+UseSerialGC -Dor
    Thanks in Advance,
    Sandeep.

    Sandeep,
    Please see (Note: 567551.1 - Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12).
    You can safely kill those processes from the OS.
    Thanks,
    Hussein

  • How to deploy an app with servlet and background processing

    i have a servlet with background processing. it has to run 24 hours a day.
    but i have problem with shutdown (after 1-2 hours without user action). [9iAS 9.0.3.0, windows 2000]
    i created for application seperate OC4J (in the EM) and i deployed it there. first time as war file, later as ear file (because there is possible to re-deploy only ear file).
    but it seems that the servlets are not designated to run as a uninterruptible task.
    the question is: how to deploy such (servlet + uninterruptible background processing) application in the 9iAS?
    a) everything in the OC4J (then how to disable shutdown?)
    b) servlet in the OC4J. where (and how) to install the rest of application?
    b1) servlet in the OC4J + rmi/soap/... + standalone server?
    what is the standard in the oracle world :) ?
    thanks

    Better to post your topic in the iPad in the Enterprise community.
    This is the, "Using Mac App Store" forum and for the most part for troubleshooting the App Store.

  • AQ Callbacks - Blocking background processes and best practices.

    We are running several queues within our company and one of them uses pl/sql callback functionnality.
    Basically, several triggers can enqueue a message when underlying tables are updated. The goal of the callback is to "treat" those messages, which means dequeuing the messages and passing them to some procedure (determined through a confguration table and the type of message). I don't know if i'm clear enough on this but it is as important.
    In general the mechanism works perfectly but we noticed in one of our databases that, after a relatively big amount of messages enqueuing (~ 500-1000 in one trasanction), there are numerous background processes blocked on system table SYS.AQ_SRVNTFN_TABLEI. In fact, the queue starts growing and messages are not dequeued anymore by the callback, that doesn't seem to be executed anymore at all.
    We actually were also unable to re-compile the package that holds the callback procedure nor removing/adding the reference of the subscriber to the queue with DBMS_AQ. It would hang there forever...
    We are running Oracle Database 10g Enterprise Edition Release *10.2.0.4.0* and the value of AQ_TM_PROCESSES = 0.
    I don't necesseraly have a complete and clear view of how the queue mechanism works behind the scenes so forgive for some foolish things I could say :-)
    Diagnosis:
    After some research, it seems the backgrounds processes are blocked on the system table SYS.AQ_SRVNTFN_TABLE on some index for MSGID.
    If I understand correctly how the system works, the callback gets executed for a specific MSGID as we use it in the callback procedure to dequeue this message.
    I've also discovered that the default value for the WAIT dequeue option is FOREVER...
    So my idea was that, for some reason, the callback tries to dequeue a message that does not exist in the queue and... waits forever for the message to "appear".
    This at first seemed pretty unlikely to me: why would the callback be executed if no message with provided MSGID exists... then you start doubting :-)
    Attempt to resolve:
    We've decided to alter the WAIT option to not let the dequeue in the callback wait forever.
    We have made some tests (outside the callback) with NO_WAIT and also with a wait of a few seconds. Both solution prooved right so we added a wait of 60s in the callback and added some tracing.
    Since then, no more background processes seems to hang there and we are able to alter the callback procedure normally. But with the added tracing, we noticed an unexplained behavior with the execution of the callback:
    - callback runs
    - ORA-25263: no message in queue QUEUE_OWNER.MULTISRC_NOTIFQ with message ID B4FFD1115523A46EE040007F0100304F
    - callback runs again and message is dequeued and treated correctly
    The first oracle error happens fast, not after 60s as the WAIT option specifies.
    Questions:
    <li>Is the way the callback method is implemented correct (see code below) ?</li>
    <li>Do we need to commit in the callback method ? What implies committing or not ?</li>
    <li>How wouold you explain the behavior of the callback after setting the dequeue WAIT to 60s and why it does not actually wait for 60s ?</li>
    <>
    <>
    <>
    <>
    The configuration of the queue and the callback is as follow:
    - the type of the payload is SYS.ANYDATA
    - an extra index is create on CORRID column
    begin
       -- create queue table
       begin
          DBMS_AQADM.CREATE_QUEUE_TABLE(QUEUE_TABLE        => 'QUEUE_OWNER.MULTISRC_NOTIFTAB'
                                       ,QUEUE_PAYLOAD_TYPE => 'SYS.ANYDATA'
                                       ,MULTIPLE_CONSUMERS => true);
       end;
       -- create and start queue
       begin DBMS_AQADM.CREATE_QUEUE(QUEUE_NAME => 'QUEUE_OWNER.MULTISRC_NOTIFQ', QUEUE_TABLE => 'QUEUE_OWNER.MULTISRC_NOTIFTAB'); end;
       begin DBMS_AQADM.START_QUEUE(QUEUE_NAME => 'QUEUE_OWNER.MULTISRC_NOTIFQ'); end;
       -- grant access to the queue to PDO
       -- add a subscriber to the queue and register the plsql to execute
       begin
          DBMS_AQADM.ADD_SUBSCRIBER(QUEUE_NAME => 'QUEUE_OWNER.MULTISRC_NOTIFQ'
                                   ,SUBSCRIBER => SYS.AQ$_AGENT('MULTISRC_NOTIFSUBSCR', null, null));
          DBMS_AQ.REGISTER(SYS.AQ$_REG_INFO_LIST(SYS.AQ$_REG_INFO('QUEUE_OWNER.MULTISRC_NOTIFQ:MULTISRC_NOTIFSUBSCR'
                                                                 ,DBMS_AQ.NAMESPACE_AQ
                                                                 ,'plsql://PDO.PO_NOTIFY.MULTISRC_NOTIF_SUBSCRIBER?PR=0'
                                                                 ,HEXTORAW('FF')))
                          ,1);
       end;
    end;
    create index queue_owner.multisrcq_corrid on queue_owner.multisrc_notiftab (CORRID)
    The callback procedure is as follow:
    procedure MULTISRC_NOTIF_SUBSCRIBER(context  raw,
                                          REGINFO  SYS.AQ$_REG_INFO,
                                          DESCR    SYS.AQ$_DESCRIPTOR,
                                          PAYLOAD  raw,
                                          PAYLOADL number) is
        L_METHOD constant varchar2(50) := 'MULTISRC_NOTIF_SUBSCRIBER';
        R_DEQUEUE_OPTIONS    DBMS_AQ.DEQUEUE_OPTIONS_T;
        R_MESSAGE_PROPERTIES DBMS_AQ.MESSAGE_PROPERTIES_T;
        V_MESSAGE_HANDLE     raw(16);
        O_PAYLOAD            ANYDATA;
        cursor C_TREATMENTS(P_ENTITY in varchar2) is
          select T.MNOT_PROCEDURE_C
            from TA_GEN.MULTISRC_NOTIF_TREATMENTS T
           where T.MNOT_ENTITY_C = P_ENTITY
             and T.MNOT_BEGIN_D < sysdate
             and ((T.MNOT_END_D > sysdate and T.MNOT_END_D is not null) or
                 (T.MNOT_END_D is null))
           order by T.MNOT_PRIORITY_N asc;
        WK_CORRID    varchar2(128);
        WK_ENTITY    TA_GEN.MULTISRC_NOTIF_TREATMENTS.MNOT_ENTITY_C%type;
        WK_PROCEDURE TA_GEN.MULTISRC_NOTIF_TREATMENTS.MNOT_PROCEDURE_C%type;
        CT_EXEC number(2) := 0;
      begin
        -- DGH: 15.12.11 / added a wait of 60 seconds for dequeue to avoid infinite waiting (default is FOREVER)
        R_DEQUEUE_OPTIONS.WAIT := 60;
        -- dequeue message
        R_DEQUEUE_OPTIONS.MSGID         := DESCR.MSG_ID;
        R_DEQUEUE_OPTIONS.CONSUMER_NAME := DESCR.CONSUMER_NAME;
        DBMS_AQ.DEQUEUE(QUEUE_NAME         => DESCR.QUEUE_NAME,
                        DEQUEUE_OPTIONS    => R_DEQUEUE_OPTIONS,
                        MESSAGE_PROPERTIES => R_MESSAGE_PROPERTIES,
                        PAYLOAD            => O_PAYLOAD,
                        MSGID              => V_MESSAGE_HANDLE);
        -- extract entity name
        WK_CORRID := R_MESSAGE_PROPERTIES.CORRELATION;
        WK_ENTITY := SUBSTR(WK_CORRID,
                            INSTR(WK_CORRID, '##') + 2,
                            (INSTR(WK_CORRID, '##', 1, 2) -
                            INSTR(WK_CORRID, '##')) - 2);
        -- execute treatment(s)
        open C_TREATMENTS(WK_ENTITY);
        loop
          fetch C_TREATMENTS
            into WK_PROCEDURE;
          exit when C_TREATMENTS%notfound;
          execute immediate 'begin ' || WK_PROCEDURE || '(:MSG); end;'
            using O_PAYLOAD;
          CT_EXEC := CT_EXEC + 1;
        end loop;
        close C_TREATMENTS;
      exception
        when others then
          if C_TREATMENTS%isopen then close C_TREATMENTS; end if;
          PO_NOTIFY.TRACE_MULTISRC_NOTIF(L_METHOD,
                                         sqlerrm,
                                         DESCR.MSG_ID,
                                         R_MESSAGE_PROPERTIES.CORRELATION,
                                         WK_ENTITY,
                                         WK_PROCEDURE);
          rollback;
      end MULTISRC_NOTIF_SUBSCRIBER;

    Helping you with the specific issue is going to be difficult without direct access to the servers but given the importance this system seems to have to your business why are you not running on a fully supported version (10.2 has been in extended support for more than 6 months) and even in the current configuration not patched to 10.2.0.5?
    My instinct would be to focus on moving to 11.2.0.3 as quickly as possible with a corresponding change to a current operating system version if your O/S is similarly out of date.

  • Calling Workflow background process' explicitly in pl/sql code

    Hi All,
    We have a requirement where we have to call the 'Workflow background process' explicitly in pl/sql code.
    What we want is that we are having some request that runs via a concurrent program, but before that request completes we want to put that on wait and run the 'Workflow background process' explicitly in the code itself (user need not go and manually run it).
    Can anyone please advice me how do I do this in a PL/SQL code that is called via a concurrent program.
    Regards,
    Shruti

    Pl post details of OS, database and EBS versions.
    One option is to use the FND_SUBMIT API
    Most Commonly Used FND APIs in APPS Customizations [ID 221549.1]
    Sample Code to Call Customer Interface RACUST Program using FND_SUBMIT Api in 11i and R12 [ID 429278.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_SUBMIT&objID=c3&dateRange=all&userID=&numResults=15
    HTH
    Srini

  • Some background processes getting killed abruptly

    Hi,
    We have an E-Biz database and sometimes users complaint that some of the forms/JSP pages are not working fine. When i check the alert log, i find the following error messages which are marked as non critical.
    Thu Oct 21 06:42:41 2010
    Non critical error ORA-48913 caught while writing to trace file "/db1/ora1211/db/tech_st/11.1.0/admin/RGDB_orargpdb/diag/rdbms/rgdb/RGDB/trace/RGDB_ora_23488
    .trc"
    Error message: ORA-48913: Writing into trace file failed, file size limit [10485760] reached
    Writing to the above trace file is disabled for now on...
    Thu Oct 21 07:25:31 2010
    ORA-00060: Deadlock detected. More info in file /db1/ora1211/db/tech_st/11.1.0/admin/RGDB_orargpdb/diag/rdbms/rgdb/RGDB/trace/RGDB_ora_26495.trc.
    Thu Oct 21 09:24:04 2010
    When i checked the background processes, mmon and mmnl processes were not running. When we restarted the database, everything started working fine.
    this problems keep coming occasionally. Any help will be appreciated.

    Dear muneer.uae,
    SHUTDOWN: waiting for logins to complete.&
    PMON failed to delete process, see PMON trace fileWell i think those are enough for you to understand the problem but the important thing here to diagnose is the "deadlock". First of all forget about everything and answer the question "do you know what is a deadlock?". If your answer is no, please go to the http://tahiti.oracle.com and search for deadlock.
    The problem is not the Oracle database, is the application that you are currently using. You have nothing to do about the suicide of the PMON and if you can not solve it by your own than you need to create an SR call.
    Background processes "normally" do not kill theirselves.
    Regards.
    Ogan

  • Starting essbase as background process in 11.1.2

    Hi,
    We have installed 11.1.2 hyperion products. We are having issues with OPMN and its starting up.Without opmn we can start essbase in freground ..using the script
    startEssbase,bat file in D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin. startEssbase.bat in this folder starts essbase onforeground.
    the link between opmn and essbase is broken. So we want to start essbase without opmn control. startEssbase.bat in the D:\Oracle\Middleware\user_projects\epmsystem1\bin doen't not do anything as opmn link is broke.
    Can anyone provide soem suggestion on how I can make Essbase run ias background process without opmn.
    I have used option like start /b startEssbase.bat./ but did not work.
    Thanks
    Srinivas

    These work for me
    export outline sample.basic all dimensions to xml_file "D:\sample.xml";
    export outline sample.basic list dimensions {"Measures"} tree to xml_file "D:\SampleMeasures.xml";
    Ran from a client machine and it creates both the files on the local client machine.
    Have you tried running on the server, are you using a different version of Maxl from the server?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Launch background process from unix command line and detect if it is runnin

    in Cocoa, I am able to run unix app by using NSTask, it works fine to me. But I want to do the following:
    1. Start up a background process.
    2. Wait to see if this background process has been launched correctly.
    3. If yes, keep running following codes...
    With NSTask, I cannot make sure when the background process has been launched correctly... and other codes just keep running...
    If I do something like:
    while (bgprocess isRunning)
    }

    What exactly do you mean by "launched correctly"? Do you just care that the process has begun? Do you want to make sure it is still running? Do you want to see if there is some signal emitted (either affirmative "I am running" or absence of a child-died signal)?
    Your isRunning example does appear to be in accord with the NSTask docs for "do blah blah blah while the task is running", but that doesn't seem to be what your description says you want to do. Is "blah blah blah" an idle loop until the task has started, or is it something to do while the task is actually running?
    How about looking up the pid of the child process (processIdentifier for the NSTask) and then check whether that process is still running?

Maybe you are looking for

  • I need to set up a new iTunes account. How can I get all my music from the old account on to the new one??? Thanks../

    I have just bought an ipad 2 and wish to set up a new account as now I won't have to share with my sister. I want to get all the music off my current iTunes account & put it on to the ipad/new iTunes account. I'm not too sure how to do this though...

  • Getting Error message couldn't open XPCOM and can't open ANY pages

    After load of updates were completed, I keep getting this Error 'COULDN'T OPEN XCOM' I can't open any programs or emails, Firefox won't open or IE. Have tried System Restore a number of times without any luck, even that doesn't complete successfully,

  • Osx lion on macbook Pro

    I want to move my home folder to an external drive, I have read some posts, went into the user account, i am there as admin, for the life of me I cant find the advanced table to direct the home folder to the external folder, where I have a copy of my

  • All Buddies appear offline all the time

    Whenever I log in to iChat all my buddies appear to be offline. I'm sure this isn't the case as I've called friends and they are in fact online. I've tried logging out and back in, updating, restarting. Can't figure it out.

  • How can I get this function to fire off last?

    In the following code, there are two buttons on the stage- "button1" and "button2".  I want to get the buttons to change frames and THEN have the "playerChange" function fire off. Currently, the "playerChange" function fires first. Moving the functio