Sessions with Event "class slave wait" taking 100% CPU

Hi experts,
I have an issue in an 11.2.0.2 RAC database with 2 standby nodes that are driving me nuts.
All started when I've been told there are 2 Oracle processes consuming too much CPU in the environment.
I found 2 processes which takes 100% CPU each. These processes are Oracle processes into the DB and checking them out although they are registered in v$process and v$session, there is nothing related to them in v$bgprocess so I could not find out which oracle processes started these 2 OS processes.
The view v$session shows them ACTIVE in the event "class slave wait". There aren't too much information about this event, at least I failed to find...
Using dbms_monitor and dbms_system to create trace events did not create any tracefile. Only ORADEBUG was able to create events but with nearly no information inside the trace files.
Questions I need to have answered or at least hints that I can follow to find the answer:
1) what is causing the CPUs to be consumed at 100%? Which process?
2) Why does these processes are using that much of CPU?
3) What can be done to safely get over it?
Honestly I don't know where else to look at except trying to get some help. Could someone give me a hand please?
BR,
Lauro Ojeda
Edited by: LauroOjeda on 26/01/2013 06:44

Hi Pal, thanks for your reply!
Here are the answers:
1. If it is RAC there is no such construct as a "standby node" and you say you have two of them. Please be specific ... is this RAC or Data Guard or a combination? Or do you have a three node cluster with all services pointing to only a single server wasting all of the resources of the other three?
A: This is a combination of them. We have 2 nodes in a RAC environment shipping logs to two physical standby databases in another site.
2. Two processes can not be at 100% of CPU any more than I can be 200% awake. Please show us how you arrived at this conclusion, on what hardware and operating system, and include a formatted (read the FAQ to learn how) extract showing what you are seeing.
A: top in Linux shows two oracle processes consuming 100% (or nearly of it) of 1 CPU each. This is a 16 cores server (each primary node) so 2 of these are working on full capacity to service the described processes.
3. What processes? Name them and again run a SQL statement and post the output so we can see what you are looking at.
A: Like I said before I failed to find which background process they belongs to as there are no indications of them in v$bgprocess and in v$session/v$process either. I can see them in v$process and v$session but again, there are no indications of for which bg process they belong to.
4. Is anything slow? Are there any problems with the system or are you only reacting to two numbers you think are too high?
A: No, system is not slow because of that but the client wants to investigate and have it sorted as it is not normal.
Additionally I found a bug in metalink which seems to be the culprit, but I'm unsure yet. This is Bug 12929268 : HIGH CPU ON ORA_O00N PROCESS
Is any other information that I may provide you?
Thanks for help!
Lauro Ojeda

Similar Messages

  • Top 5 event class slave wait

    Dear Support,
    I run the AWR report. It show the top 5 event is class slave wait 70second then follow by CPU time. May i know what is class slave wait event. Thanks
    Regard
    William

    10g is a marketing label not a version number.
    SELECT * FROM v$version;Don't describe the AWR report part your are seeing ... Ctrl-C then Ctrl-V ... and post it between tags so we can read it.                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Lot of sessions with wait event - jobq slave wait

    Hi All,
    My db version is 10.2.0.4.0
    I have scheduled jobs through dbms_scheduler with repeat_interval of 20 mins(this for refresh of mviews).
    Now the job is in running state for a long time. then i checked the sessions..
    I have five session with wait event - "jobq slave wait"
    I check job_queue_parameter - 10
    select count(1) from dba_jobs;
    COUNT(1)
    8
    Now the job is in running state for a long time...
    Can someone help me how to proceed...
    Thanks,
    Suresh S.

    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version
    does following SQL return any rows? If so, they point to problem area.
    SELECT DECODE(request,0,'Holder: ','Waiter: ')||sid sess,
    id1, id2, lmode, request, type
    FROM V$LOCK
    WHERE (id1, id2, type) IN
    (SELECT id1, id2, type FROM V$LOCK WHERE request>0)
    ORDER BY id1, request
    /

  • Jobq slave wait taking too long

    Dear all,
    On our production database server, I often see certain sessions taking way too long with the wait event "jobq slave wait".
    how can I prevent "jobq slave wait" events ? (or at least make it shorter or less frequent)
    I tried to search about this but could not find a good source that could help me in this regard.
    Please help.
    DB Version : 10.1.0.5 using Real Application Clusters
    OS Version : Windows 2003
    Thanks in advance.

    Hi Can you check how may jobs have scheduled or there may materialized views which keeps refreshing and their refresh interval
    You will get clear picture of number of jobs from below sql
    select count(*) from dba_jobs;
    and how many job_queue_procesess you have in your database ,use below sql
    show parameter job_quere-
    If you have more scheduled jobs than above parameter and which keep repeating after some time then better increase the parameter job_queue_process .
    Its dyanamic parameter.No need to restart the d/b

  • [SOLVED] mandb hangs, taking 100% CPU

    I have a VPS running Arch (limited to kernel 3.9.4-1 by the provider). The system was unceremoniously rebooted last night due to a power outage at their facility. When it came back up, the mandb process being run by cron was taking 100% of the CPU and had been running for ~10 hours by the time I noticed it.
    I eventually killed the mandb process and re-tried it manually with debugging turned on: `mandb -d`. It appears that processing stops at /usr/share/man/man5/core.5.gz (this is the last output I see, even if I leave it running for an hour or two). Even after the output stops, it is still taking 100% CPU. Anyone have any ideas or other things to try debugging it? I'm all out.
    Last edited by aclindsa (2013-11-26 01:02:42)

    I re-installed man-pages with `pacman -S man-pages` and then received the following messages:
    Purging old database entries in /usr/share/man...
    Processing manual pages under /usr/share/man...
    Updating index cache for path `/usr/share/man/man2'. Wait...mandb: bad fetch on multi key alarm 2
    mandb: index cache /var/cache/man/3354 corrupt
    Then, after running
    mandb -c
    subsequent calls to `mandb` executed successfully. Problem solved. I guess maybe mandb was running when the power outage occurred, corrupting the man index cache... makes me wonder what else got corrupted that I haven't noticed yet.

  • Procedure is taking 100% cpu

    Hi ,
     One of my procedure is taking 100% CPU, I looked execution plan .. But I am not sure what to look on that .. I didn't find any anything wrong in execution plan. like all are index seek ..  Even the query is not taking much time just 2 sec
    Regards Vikas Pathak

    In addition to great suggestion Sean has been posted , I always start with the below
    ---This first thing to check if CPU is at 100% is to look for parallel queries:
    -- Tasks running in parallel (filtering out MARS requests below):
    select * from sys.dm_os_tasks as t
     where t.session_id in (
       select t1.session_id
        from sys.dm_os_tasks as t1
       group by t1.session_id
      having count(*) > 1
      and min(t1.request_id) = max(t1.request_id));
    -- Requests running in parallel:
     select *
       from sys.dm_exec_requests as r
       join (
               select t1.session_id, min(t1.request_id)
              from sys.dm_os_tasks as t1
             group by t1.session_id
            having count(*) > 1
               and min(t1.request_id) = max(t1.request_id)
          ) as t(session_id, request_id)
         on r.session_id = t.session_id
        and r.request_id = t.request_id;
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • F1 live timing taking 100% CPU

    I realise this is a pretty obscure problem. F1's live timing service runs as a Java applet in a browser: http://www.formula1.com/services/live_t … popup.html (registration required, but it should load and run at any time, not just on race weekends). Obviously, I haven't used it since last October, and when I fired it up this weekend it just sat there, taking 100% CPU.
    It doesn't seem to be the JVM at fault: other Java applets run fine, and I've tried downgrading to a version I know worked last year. Neither is it anything in the applet itself: I have another Arch partition which I cloned off this one last November, and it works perfectly there (it doesn't seem to be the kernel, either; I tried booting this "current" partition with the kernel from that one). However, so many packages have been upgraded - and I've tinkered so much with this install - since then, that it could be literally anything.
    For that reason, I don't expect anyone to come up with an immediate answer, but I'd appreciate some ideas on how to narrow down the possibilities and figure out what might be causing this.

    lucke wrote:What browser?
    All of 'em: Firefox, Opera, Konq, Kazehakase...
    Works OK in konqueror.
    Weirder and weirder, then. 

  • Oracle on NT(taking 100% CPU)

    I have my Oracle running on NT.It is a Dell machine .The database isna test database.When the instance starts up it is taking 100% CPU.No activity possible on it.All querries hanging.Any suggestions ?

    Please look at patch name EM_NT_1224539.
    null

  • HELP PLEASE - syslogd gone mad taking 100% CPU!!!!!!!!!!!!!!!!!

    Hi PLEASE HELP
    I have no idea what is going on but syslogd has suddenly started taking 100% CPU.
    This started around 6pm this evening and despite 5 restarts 2 hours later it is STILL consuming 100% CPU.
    Kicks in as soon as the machine has finished booting.
    Did stop for no reason for about 10 minutes then started again!!!!!!!!!!!!!!!
    Robin

    This topic should be a Sticky untill Apple releases a fix for the issue!
    Also these 2 Links are very useful!
    http://smartic.us/2007/11/8/leopard-100-cpu-usage-caused-by-syslogd-and-possibly -time-machine
    http://julianschrader.de/20080131-100-cpu-usage-caused-by-syslogd-leopard/

  • Firefox 3.6.12 is running extremely slow and taking 100% CPU on my mac.

    Just updated Firefox to 3.6.12 and it's taking over 100% CPU on one of my processors and is running EXTREMELY slow, too slow to use.

    Firefox used to be the doggs bollocks now its just a dog.
    Back to internet exploder fro me im afraid.I cant keep waiting twenty seconds for everything its like being back in 1993.

  • Genius updating taking 100%+ CPU time and error 13011

    Does anyone else have the issue of iTunes updating Genius causing their CPU usage to max out run the cooling fan at full speed?
    Im getting an average of 100%+ CPU usage while its updating or compiling or whatever its doing and Macbook cooks whiles its doing so.
    Activity Monitor is reporting ridiculously high CPU usage. How do you even get 108% CPU usage?? Can someone explain that for me?
    Im also getting the message 'unable to save library' with error 13011 at the end of Genius updating (the Genius update progress bar is full).
    Can anyone give me some pointers as to what I can do to check why i'm getting these issues or if there is resolution?
    Killing the Genius data gathering solves the CPU usage issue straight away but I'm sure it wasnt this bad before Snow Leopard.
    Cheers
    AC

    here is a log of the console messages relating to itunes if that helps anyone...
    11/09/09 8:22:24 AM [0x0-0x1cd1cd].com.apple.iTunes[4459] objc[4459]: Class DOMHTMLParamElement is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore and /Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBloc k. One of the two will be used. Which one is undefined.
    11/09/09 8:22:24 AM [0x0-0x1cd1cd].com.apple.iTunes[4459] objc[4459]: Class WebBaseNetscapePluginView is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit and /Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBloc k. One of the two will be used. Which one is undefined.
    11/09/09 8:22:26 AM Firewall[65] iTunes is listening from 0.0.0.0:3689 proto=6
    11/09/09 8:22:27 AM Firewall[65] iTunes is listening from :::3689 proto=6
    11/09/09 8:22:27 AM [0x0-0x1cd1cd].com.apple.iTunes[4459] Child process initialized.
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub read_all(49) failed -1/4 9 Bad file descriptor
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub read_all(49) failed -1/4 9 Bad file descriptor
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub read_all(45) failed -1/4 9 Bad file descriptor
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub DNSServiceRefDeallocate called with invalid DNSServiceRef 0x1a808680 FFFF0004 DDDDDDDD
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub DNSServiceRefDeallocate called with invalid DNSServiceRef 0x1a8025a0 00000000 80000000
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub DNSServiceRefDeallocate called with invalid DNSServiceRef 0x1a8025e0 00000001 18B96E00

  • LinkedBlockingQueue taking 100% CPU on linux

    I've just discoverd that java.util.concurrent.LinkedBlockingQueue takes 100% CPU on linux (AMD XP2400 512MB of RAM Fedora Core 3 using:
    java version "1.5.0_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
    I don't know what's happening (could it be a bug?). On Windows 2000 (Pentium4) it works fine.
    Is there a special setting that has to be set on Linux for this code to work? Is this code working on your linux box?
    If you know any work around that acheives the same effect, I'd be glad to here it.
    Help! please!
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.TimeUnit;
    import java.util.ArrayList;
    public class Test {
        public Test() {
        public static void main(String[] args) {
            Test t = new Test();
            t.execute();
        public void execute() {
            try {
                System.out.println("1");
    LinkedBlockingQueue queue = new LinkedBlockingQueue();
    ArrayList list = (ArrayList) queue.poll(3162240000L, TimeUnit.SECONDS);    // wait 100 year (!) for an element in the queue
            System.out.println("2");
            } catch (Exception e) {
                e.printStackTrace();
    }

    Yes it's the poll call that causes problems.
    I've looked at the bug database and did not find something similar. I've created a bug for this. I hope that it will be fixed in the future.
    As I cannot wait, I've find an alternative in "Java 1.4 backport of JSR 166 (java.util.concurrent)"
    http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/
    It is kinda stuipid to run Java 1.5 and having to use a backport of java.util.concurrent but I have no choice.
    I guess that this is a threading problem as on Windows 2000 on a Pentium4 I've got no problem.

  • Dock frozen, taking 100% CPU, 50gb swap

    My dock is frozen and shows 100% cpu use (that is, 100% of one core).  It gradually takes more and more memory until I run out of hard disk space.  Killing the process does nothing - it immediately comes back at 100% of cpu and starts eating the memory over again.  Same with deleting com.apple.dock.plist.
    This problem was occuring in 10.8.3, so i tried updating to 10.8.4, which had no effect.
    Any ideas?

    I had this problem, eventually found a solution - it's to do with Parallels (and maybe VMWare Fusion) sharing Windows applications to the Mac Dock. It turned out that I had quit Parallels, but somehow it had left something about these shared Dock items in limbo.  Restarting Parallels got things right again, then disabling the Shared Windows Apps in the configuration of the VMs
    See http://reviews.cnet.com/8301-13727_7-20074173-263/dock-using-100-cpu-after-os-x- 10.6.8-update-for-parallels-6-users/

  • Mail is taking 100% CPU

    Out of nowhere OS X Mail on my macbook pro is taking 100% of the CPU. Doesn't seem to be downloading emails or anything but it's working the CPU. It's an IMAP connection to Mobile Me. I have tried to remove the account and re-create it from scratch and no change.
    Any help would be appreciated.
    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
    1129 top 5.1% 0:01.42 1 18 29 880K 200K 1476K 18M
    1123 ocspd 0.0% 0:00.01 1 19 21 412K 192K 1072K 18M
    1121 PubSubAgen 0.0% 0:00.01 2 57 27 348K 4576K 1396K 20M
    1053 Mail 98.7% 6:22.50 11 239 451 45M 36M 70M 471M
    1051 sqlite3 0.0% 0:00.00 1 31 25 112K 188K 520K 18M

    I have a similar problem.
    Mail starts eating up all CPU and RAM resources at the same time. After a short hang its CPU usage drops and RAM is set free again. This occurs periodically about each minute. I tried all suggestions in the forum from Onyx cleaning over envelope index deletion to Flip4Mac uninstall. Nothing helps.
    Switching to Thunderbird is ok, but i'd really like to use Mail again and I'm desperately looking for a final solution.

  • Diskimages-helper taking 100% CPU ...

    I suddenly got a problem with the process "diskimages-helper" created by my account. It consumes 100% CPU time constantly.
    I have read other threads about this, but they are +4 years old and I doubt the solution is the same since that was a different operating system.
    Does anyone have an idea as to why this phenomena suddenly appears and what a solution might be ??

    Remember in the future... "When In Doubt, Restart!"

Maybe you are looking for

  • How can I see my book in Istore?

    How can I see my book in aplle store?

  • I can't open iTunes on my computer.

    When I tried to turn on iTunes yesterday I got the error message, "The procedure entry point AVCFPlayerItemDurationChangedNotification could not be located in the dynamic link library AVFoundation CF.dll."  Then, when I clicked OK, I got a message sa

  • URGENT, Please help with calling one program in another

    I am am trying to call Ch4Ex5 within Ch3Ex5. The teacher said it should take about 6 lines of modification within Ch3Ex5 to be able to call out Ch4Ex5. I also might need to modify Ch4Ex5 to get it to work. But I spent many hours and its due soon and

  • Determination of batch whose stocks are not available in system

    Hi SAPgurus, During batch determination , the system is determining a batch whose stocks are not available in system .(The stocks of that batch has been received and has been sold out 1 week back , In MMBE also the stocks of that batch is nil and ano

  • Passing info from a XML file to URLloader

    I am new to Flex (And programming alltogether), so please excuse my ignorance when asking this question; but I have to start somewhere. :-) I have an application using HTTPService that pulls information from a XML file and displays an image and text