URGENT: 99% CPU Utilization - different oracle process

Hi,
I have application using the database. It is 24*7 production env.
The CPU Utilization goes very high and application is working very slow.
I have enterprise manager on windows 2003 server and agents on linux to monitor it.
Oracle 10g is the database version.
Everytime i try to find out the process it goes down but generally the application is running very slow
Following is the result of sar on linux box which is taking up high CPU.
Linux 2.6.9-22.ELsmp (sydora2.sabrepacific.com.au) 03/12/07
10:17:43 CPU %user %nice %system %iowait %idle
10:17:48 all 93.69 0.00 3.34 2.98 0.00
10:17:53 all 69.85 0.00 3.82 26.32 0.00
10:17:58 all 88.61 0.00 2.80 8.59 0.00
10:18:03 all 96.90 0.00 2.57 0.53 0.00
10:18:08 all 95.13 0.00 3.29 1.58 0.00
Average: all 87.30 0.00 3.22 9.48 0.00
Let me know how to drill and fix this problem.
Please help !!
Thanks in advance.

High CPU is not a problem by itself, but you need to identify if it is consistently if so why.
SELECT a.*,b.*
from
v$session b,
v$process a
where
b.paddr = a.addr
and a.spid = <number> ;
spid is your server PID.
Identify your pid with top command, feed the pid to identify which session is using considerable CPU. Identify the sql that it is running.
SELECT * FROM V$sql where sql_id= <prev_sql_id from v$session>
Message was edited by:
gopalora

Similar Messages

  • API's to find CPU Utilization of Current Process

    Hi World,
    Do Java 5 or Java 6 has any new API's for finding the CPU Utilization of the current process. Is there any other way of finding the CPU Utilization of current Process.
    Regards,
    Gopi

    Don't double post. I've removed the thread you started in the Java Programming forum 2 minutes after this one, with the identically same question.
    db

  • How to measure CPU utilization from Oracle AWR

    Hi All,
    How to measure the cpu usage % from the AWR reports.
    Oracle : 10.2.0.3
    OS : AIX 5300-12-02
    I see the top 5 waited events listing CPU time in it.
    Top 5 Timed Events Avg %Total
    ~~~~~~~~~~~~~~~~~~ wait Call
    Event Waits Time (s) (ms) Time Wait Class
    CPU time 98,655 40.0
    Is it mean that the CPU utilization is full to its 100%. Is there any other way to measure how much an oracle instance is utilizing the CPU ?
    Please advice.
    TIA,
    Nv

    Hi,
    Check this script, if possible run in toad.
    col LastCallET format 99,999
    col cpumins format 99,999
    col status format a1 trunc
    col module format a20
    col username format a15
    col logontime format a12
    col machine format a15 trunc
    col sid format 9999
    select * from (
    select 'P',s.sid, s.status, t.value/100/60 cpumins ,
         floor(last_call_et/60) "LastCallET",
         to_char(s.logon_time,'mm/dd hh24:mi') logontime,
         s.username,s.process, p.spid, s.module , s.machine, s.sql_hash_value
    from v$sesstat t, v$session s, v$process p
    where t.statistic# = 12
    and s.sid = t.sid
    and s.paddr = p.addr
    and s.type = 'USER'
    and s.sql_hash_value != 1425819161
    union
    select 'N',s.sid, s.status, t.value*-1/100/60 cpumins ,
    floor(last_call_et/60) "LastCallET",
    to_char(s.logon_time,'mm/dd hh24:mi') logontime,
    s.username,s.process, p.spid, s.module , s.machine, s.sql_hash_value
    from v$sesstat t, v$session s, v$process p
    where t.statistic# = 12
    and s.sid = t.sid
    and s.paddr = p.addr
    and s.type = 'USER'
    and s.sql_hash_value != 1425819161
    and t.value < 0
    order by 4 desc)
    where rownum < 11
    Regards,
    Satya.

  • Can we control user request w.r.t Memory and CPU utilization in Oracle 10g

    Dear All,
    We are having Production with Oracle 10.2.0.4 (5 Node RAC, 32Gb RAM each) running on RHEL5.2 with 12000 Users. We have some schema say FIN, HRMS, SALES, REPORT and many dedicated users for those schemas. We need to control the user request against these schema with respect to Memory (or CPU utilization)
    Suppose users using FIN schema can use Maximum 40 % of Total Memory, HRMS schema can use Max 20%, SALES can use Max 20% and REPORT can use Max 20%.
    Is it possible to create any Service in Server side to handle this type of scenareo or any existing service which can be customised to fullfil this?
    Please suggest me.......
    Thanks,
    Tusar
    Edited by: gohappy on Jan 27, 2011 5:59 AM
    Edited by: gohappy on Jan 27, 2011 6:00 AM

    JDBC 'applications' quite often don't use persistent connections, and often do not exit gracefully by calling 'exit' or 'disconnect'.
    This means the session will continue to exist.
    It also means, if you don't establish any form of connection pooling and/or dead connection detection, you can throw whatever amount of memory in the server, and you will continue to report
    'Now problems is coming'. Apart from crippled English, the general lesson any DBA should know is how these 'applications' operate, and, contrary to some, you can never ever fight problems caused by applications,
    by throwing memory and cpu at the problem.
    When I read your text, I also assume the application is not using PrepareStatement calls and not using bindvariables, this is why your 'application' is burning the CPU.
    Find those 'application developers', sue them, or better still : Beat them with a whip, and have them fix their 'crapplication'.
    Paraphrasing William Jefferson Clinton: It's the application, stupid!
    Sybrand Bakker
    Senior Oracle DBA

  • How to find memory taken by Oracle processes using top command

    I wanted to know how to find the memory taken by Oracle processes using top command. The output of the top command is as follows as an example:
    Mem: 16436072k total, 16215708k used, 220364k free, 395128k buffers
    Swap: 25165816k total, 1168288k used, 23997528k free, 13366520k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    27281 oraprod 15 0 6705m 1.3g 1.3g S 0.0 8.6 61:44.71 oracle
    27383 oraprod 15 0 6702m 1.2g 1.2g S 0.0 7.7 2:22.75 oracle
    5199 oraprod 16 0 6745m 1.1g 1.0g S 0.0 6.8 2:51.23 oracle
    The different Oracle processes could be Oracle database, Oracle listener, Oracle enterprise manager etc.
    I hope, my question is clear as to how to find the memory taken by a process using top command.
    Please revert with the reply to my query.
    Regards

    a short and correct answer would be: you can't.
    As oracle uses a fair amount of shared memory, and that shared memory is attached to most of the oracle processes, the same memory appears a number of times.
    you should rephrase your question / what is it you want to achieve?
    you can ask oracle how much memory is assigned to it, v$sga, v$sgastat, v$process (for PGA). moreover, you as DBA are the one who configured that.
    you can look at major an minor faults per process to see what is causing the paging (if you have any).
    you can also look at the /proc/pid/statm pseudofilesystem for your oracle pids.

  • Different CPU utilization on ESX VMware servers of Netweaver Portal

    Hello,
    we are running an Enterprise Portal NW 7.0, SPS20. The application servers are running on 6 ESX VMware servers.
    Although all application servers have almost the same amount of user sessions and the same processes on all servers,
    always one of the servers have more than the double amount of CPU utilization than all other servers !
    We found out, that this phänomen appears, as soon as one of the VM servers is running on a different physical hardware.
    As soon as all servers are running on the same physical hardware, the problem does not exist.
    Does anyone have experiences with the topic (Portal-)application servers on ESX VMware and different CPU utilization ?
    Best regards,
    Matthias

    Hi Matthias,
    Here is some information that may help you analyze the situation further:
    1158363 - vm-support - Exporting Diagnostic Data from VMware
    Use 'esxtop'.  Helpful information to evaluate the data shown in 'esxtop' can be found in "Performance Analysis Methods" available at:
    http://www.vmware.com/files/pdf/perf_analysis_methods_tn.pdf
    Furthermore please take note of the following SAP notes and ensure you have set up the extended SAP System Monitoring.
    674851 - Virtualization on Windows
    1159490 - Virtualization on Windows: Monitoring on VMware ESX
    1056052 - Windows: VMware ESX Server 3 configuration guideline
    1104578 -  Virtualization on Windows: Enhanced monitoring
    Hope this helps.
    Best Regards,
    Matt

  • CUCM 8.6(2) - High CPU utilization - CCM process

    Hello,
    Process name ccm is peacking 91% of CPU utilization in one of Subscribers.
    On cluster there are 1 Pub, 2 Subs, and 2 TFTP.
    CCM service was already restart, and Subs reload, but problem remain.
    We have checked and removed association with phones not registered, but problem remain.
    Proc,PID,CPU,Status,SharedMem,Nice(Level)VmRSS,VMSize,VMData,ThreadCount,DataStackSize,PageFault
    ccm,32687,90,SLEEPING,87380,0,426792,605276,468544,47,418345,744
    VMware Installation:
            1 vCPU: Intel(R) Xeon(R) CPU E5-2643 0 @ 3.30GHz
            Disk 1: 80GB
            4096 Mbytes RAM
    admin:show process name ccm
      PID  PPID   TID %CPU S COMMAND
    32687     1 32687  0.0 S ccm
    32687     1 19549  0.0 S ccm
    32687     1 19570  0.0 S ccm
    32687     1 19639  0.0 S ccm
    32687     1 20057  0.0 S ccm
    32687     1 20331  0.0 S ccm
    32687     1 20332  0.0 S ccm
    32687     1 20333  0.0 S ccm
    32687     1 20354  0.0 S ccm
    32687     1 20360  0.0 S ccm
    32687     1 20361  0.0 S ccm
    32687     1 23336  0.0 S ccm
    32687     1 23337  0.0 S ccm
    32687     1 23338  0.0 S ccm
    32687     1 23339  1.0 S ccm
    32687     1 23340  0.1 S ccm
    32687     1 23341  0.2 S ccm
    32687     1 23342  0.0 S ccm
    32687     1 23349  0.0 S ccm
    32687     1 23988  0.0 S ccm
    32687     1 23989 21.6 S ccm
    32687     1 23990  0.7 S ccm
    32687     1 24013  0.0 S ccm
    32687     1 24043  0.0 R ccm
    32687     1 24044  0.0 S ccm
    32687     1 24045  0.0 S ccm
    32687     1 24046  0.0 S ccm
    32687     1 24047  0.0 S ccm
    32687     1 24048  0.7 R ccm
    32687     1 24049  0.2 S ccm
    32687     1 24050  0.1 R ccm
    32687     1 24051  0.0 S ccm
    32687     1 24052  0.0 S ccm
    32687     1 24053  0.0 S ccm
    32687     1 24054  0.0 S ccm
    32687     1 24091  0.0 S ccm
    32687     1 24092  0.0 S ccm
    32687     1 24093  0.0 S ccm
    32687     1 24181  0.0 S ccm
    32687     1 24182  0.0 S ccm
    32687     1 24192  0.0 S ccm
    32687     1 24277  0.1 S ccm
    32687     1 24278  0.0 S ccm
    32687     1 24279  0.0 S ccm
    32687     1 24280  0.0 S ccm
    32687     1 24281  0.0 S ccm
    32687     1 24282  0.0 S ccm
    admin:
    Are there any specific tests, or logs prior to isolate this issue?

    Hi,
    A few points:
    > Use one of the recommended OVA templates
    > Check if the spike is random or occurs at a specific time. If it occurs at a specific time it could be coinciding with something like DRS backup, CDR load, busy hours etc.
    > Minimum set of logs needed for one such high CPU spike instance are:
    Detailed ccm traces from all nodes
    RisDC Perfmon logs
    Proglogs
    Also, capture the output of the following:
    utils diagnose test
    utils core active list
    show process load
    HTH
    Manish

  • How to over come jlaunch process High CPU utilization

    Hi ,
    I am facing problem in Poratal Production system
    Jlaunch process consuming more CPu utilization, Can you suggest me How to overcome this problem with out restart server
    regards,
    Balaram

    Hi,
    This is because of parameters of your J2ee engine are not optimized. Check SAP 723909 Java VM settings for J2EE 6.40/7.0 Prerequisite for performance optimization
    Thanks
    Sunny

  • Some Oracle processes are consuming 100% CPU

    Hi,
    Some of my oracle processes are consuming most amount of cpu continuously.What are the general steps to sort out this problem.I think the query is a tuned one.

    Hi,
    What is your veriosn of Oracle? what is the OS? which oracle process is consuming 100% CPU? how did u find out it is conuming?
    and you have mentiond query is tuned one... it does your query is taking time to execute?
    there is no clarity in your question...
    Regards,
    Vijayaraghavan K

  • IOSD process getting 50 % cpu utilization

    HI,
    I have VSS running  on 2 cisco WS-C4506-E.
    My process cpu goes high and when i check IOSD prcoess taking majority of CPU
    egtc-dsw-c4k#  show processes cpu sorted
    Core 0: CPU utilization for five seconds: 12%; one minute: 13%;  five minutes: 17%
    Core 1: CPU utilization for five seconds: 44%; one minute: 49%;  five minutes: 54%
    PID    Runtime(ms) Invoked  uSecs  5Sec     1Min     5Min     TTY   Process
    8539   4036624     63457075 466    28.18    30.90    35.78    0     iosd              
    11758  1594385     12585851 126    0.32     0.26     0.24     0     ffm               
    What is this IOSD process do
    Thanks

    ASim,
    Is there any chance for you to log a CIsco TAC case so that we login to your device and check what causing the CPU to go high?
    Else here is TS method :
    ====================
    1- Check the CPU utilization (Show proc cpu sorted | ex 0.00) >>Check which process is utilizing more CPU usage.
    2- Check STP to see if there are any loops (show spann det | in ieee|from|occur|is exec) >> Check for any STP changes for VLAN , If yes then track that vlan and see which inteface is sending and recieving high packets or any drops on that particular interface.
    3-Check the CPU packets Stats,
    4-Use the following inbuilt non impacting debug to find out the packets going to the CPU(menioned in the same high CPU troubleshooting document)
    Switch#debug platform packet all receive buffer
    platform packet debugging is on
    Switch#show platform cpu packet buffered
    Focus on finding any common traits in the packets like srcmac etc.Once we know the bulk of the traffic goingto the CPU the source can be shut off
    to bring the CPU down.
    Hope that helps,
    REgards
    Inayath
    https://supportforums.cisco.com/message/3970053#3970053
    https://supportforums.cisco.com/thread/2197388

  • What is the different between Oracle Process Manuf and Oracle Discrete Manufatur in oracle?

    Dear What is the different between Oracle Process Manufacturing and Oracle Descret Manufacturing in Oracle?

    Hi Elad,
       Depending on the requirement and the availability we go with implementing a particular database.
    For xi point of view there is no difference between oracle and SQL database. However you need to intall the drivers of SQL.
    Even there is no difference in the communication channel configuration.
    Reward points if found helpful.
    Thanks & Regards,
    Bharath.

  • Which oracle process takes how much cpu?

    give me a query to find out
    which oracle processes takes how much cpu?

    Monitor how much a user is consuming CPU

  • Airport Process utilizing high CPU utilization

    I currently have a 13 inch MacBook Pro i7 (2012 version).  Recently I upgraded to Mavericks.  After using the computer for a day after the upgrade, I began to notice it becoming very hot and the fans running very high.  Looking at the running processes i noticed that a process called "airport" was running and utilizing high CPU times causing the heating up and fans running.  Once I stopped this process, the laptop went back to operating at normal levels.
    Unfortunately this issue began to come back several times....the "airport" process starting at any time and utilizing high CPU utilization....again only by killing this process fixed this issue.
    After seeing this behavior over several days, I decised to wipe the drive and install a clean copy of Mavericks in the computer.  Thought here was that possibly something did not carry over correctly from the upgrade from Mountain Lion to Mavericks.  Unfortunely this did not correct the issue with the "airport" process as it still is continiung to launch at any time and spike the processor until I manually kill the process.
    I do not recall this issue occuring while running Mountain Lion so it seems to be specific to Mavericks at this point.
    I was hoping to hear if any other have experienced this type of issues while running Mavericks.

    You should be able to find the information you are looking for from the default Total CPU Utilization Percentage monitor.  This monitor has a built in diagnostic task that will kick off when an alert is triggered to list the top cpu consuming processes.
     To find which processes were causing CPU to spike, simply review the State Change Events history in health explorer for the machine that was affected, for the Total CPU Utilization Percentage monitor.  I have modified my second screen shot
    to remove machine names, but you should get the idea.  If a cpu monitor went from green to red, it will run the diagnostic task and list the process information and cpu usage at the time of the alert under state change events.

  • URGENT HELP!!. Applying 8.1.7.4 patch in different Oracle Homes.

    Hi all,
    We are using 8.1.7.0 on SunSolaris OS(5). We've 4 oracle instances running on 817 and one on 8174. They are all in different oracle homes.
    Oraclehome1 - 8170
    Oraclehome2 - 8174
    When I tried to put 8174 patch on Oraclehome1 the installation terminates without installing the software and its not giving any errors. In oracInventory logs it displays the following version numbers.
    8.1.7.4 > 8.1.7.4
    I also tried to reinstall full software on Oraclehome1. It is also failing with link errors.
    How can I install 8174 patch in oraclehome1? OR how can upgrade the oracle instance under oraclehome1 to 8174?
    Thanks for any inputs.
    Regards

    Yes I did shutdown the database and stopped all other services running on the machine.

  • IWS 6.0 100% CPU utilization hanging- very urgent

    Hi,
    We are using Iplanet Web server 6.0 on windows-2000 SP2.The problem we are facing is after 10 concurrent users have logged in the CPU utilization shoots up to 100% and we have to reboot the systesm
    Our billing Application is affected very much due to this.
    Can anybody throw some light on this?
    Thanks in advance.

    Hi,
    Are you using any plugin with iWS. Please let me know your config file. Mean while please check tunning parameters of solaris for Performance bench mark.
    http://docs.iplanet.com/docs/manuals/enterprise/50/tuning/perf6.htm#17580
    Regards,
    Dakshin.

Maybe you are looking for

  • Unable to change permissions on Hard Disk Drives after rolling back OSX Lion to Snow Leopard

    Are you able to help me? I had several problems with permissions and a series of other serious issues after upgrading to Lion, so I did a clean re-install of Snow Leopard 6.4 (from disk), upgraded to 6.8 and still had permissions problems which I hav

  • Alarms in subscribed calendars - can they be switched off?

    I share my Google calendar with my partner on her iPhone but it seems that the alarms on the entries go off on her phone even when she has it set to look at her own calendar. Is there a way anyone knows of preventing this please?

  • Prevent MBP13 from sleeping when closed power & ext display?

    hi all, i use my macbook with an external monitor and keyboard. i normally have my macbook charging and the lid closed. i unplugged the mag charger and my external monitor went black.  however when my lid is open and not charging everything works fin

  • Abap report to send email in background

    Hello, This code works perfectly in foreground, but don't work in Background !! DATA: out   TYPE ole2_object,          outmail TYPE ole2_object. CREATE OBJECT out 'Outlook.Application' .    CALL METHOD OF out 'CREATEITEM' = outmail    EXPORTING #1 =

  • Won't send emails

    got my laptop a week ago and mail worked fine. now the timer keeps spinning by the sent folder and mail sits in outbox. any suggestions?