Oracle 10g 10.2.0.3.0 takes 100% CPU

Hi,
We are using Web sphere commerce server (IBM) with Oracle 10g. we are currently in development phase. what ever execute (jobs) small job like uploding 100 records, CPU takes 100%. the process can't complete, it goes on.
System Details
2 CPU and 8 GB RAM Intel Based system
OS: Redhat server 5.1
SQL> show sga
Total System Global Area 2097152000 bytes
Fixed Size 1262740 bytes
Variable Size 251661164 bytes
Database Buffers 1828716544 bytes
Redo Buffers 15511552 bytes
shared_pool_size big integer 112M
java_pool_size big integer 112M
PGA and SGA
pga_aggregate_target big integer 200M
sga_target big integer 2000M
Pls could any one help on this. is it correct values SGA has or what could be the issue.
Thanks
Regards
Settu Gopal

Settu Gopal wrote:
Hi,
We are using Web sphere commerce server (IBM) with Oracle 10g. we are currently in development phase. what ever execute (jobs) small job like uploding 100 records, CPU takes 100%. the process can't complete, it goes on.Settu,
in addition you might want to trace the session to find out what it is waiting for. In 10g you can use the DBMS_MONITOR package to enable the tracing, and then use the "tkprof" utility as outlined in the article to get the trace file generated analyzed.
You can also use the V$SESSION view (BLOCKING_SESSION_STATUS, BLOCKING_SESSION, BLOCKING_INSTANCE) to find out if the session is blocked for any reason, although it shouldn't consume CPU in that case.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/

Similar Messages

  • Java process take 100% cpu

    Hello,
    I have a webapp running on Tomcat 5.0.28/RHEL 3.0. After some time (approximatively 1 hour), a java process take 100% cpu load and never stop, but the application do nothing.
    Some detail on my configuration :
    Distribution : Redhat Enterprise Linux 3.0 (updated)
    Kernel 2.4.21-37.0.1.ELsmp
    Glibc 2.3.2-95.37
    JVM : JRockit 1.4.2.08 (the last one)
    Tomcat : 5.0.28
    Server : 2*Xeon 3GHz HT, 2Go RAM
    JVM param : -Xmx:256m -Xms:256m
    Thanks for your answers ...

    Try taking thread dump (send a SIGQUIT to JRockit using "kill"). If you
    get a thread dump, the VM is alive, and it's probably your java program
    that's broken. In that case, make a JRA recording to see what's happening:
    http://e-docs.bea.com/jrockit/docs142/usingJRA/jra.html
    The methods pane is probably what you're looking for.
    If you don't get any thread dump when sending a SIGQUIT to JRockit,
    come back here.
    Regards //Johan
    Gr?goire Rolland wrote:
    Hello,
    I have a webapp running on Tomcat 5.0.28/RHEL 3.0. After some time (approximatively 1 hour), a java process take 100% cpu load and never stop, but the application do nothing.
    Some detail on my configuration :
    Distribution : Redhat Enterprise Linux 3.0 (updated)
    Kernel 2.4.21-37.0.1.ELsmp
    Glibc 2.3.2-95.37
    JVM : JRockit 1.4.2.08 (the last one)
    Tomcat : 5.0.28
    Server : 2*Xeon 3GHz HT, 2Go RAM
    JVM param : -Xmx:256m -Xms:256m
    Thanks for your answers ...

  • Zenity takes 100% CPU Time

    When I run as root or normal User
    zenity --notification --text="test"
    The zenity process takes 100% Cpu time
    System:
    Arch 32bit gnome 2.22
    Last edited by brickwedde.eu (2008-05-06 11:26:00)

    I GOT IT... I think.
    zenity --notification actually calls libnotify! I was trying out a script and suddenly realized something, because by chance dbus decided to take a break. Take a look at these two code fragments.
    $ zenity --info --text "hello"
    $ _
    $ zenity --notification --text "hello"
    libnotify-Message: Unable to get session bus: Failed to connect to socket /tmp/dbus-jmMdFXbznS: Connection refused
    <hang>
    <100% CPU usage>
    I've figured out why: it's basic socket programming gone wrong. The notification part of zenity calls libnotify, tries to connect to libnotify's socket, and fails, using 100% CPU waiting for the connection to... end a stream that never started.
    A possible solution is to just use notify-send.
    -dav7
    Last edited by dav7 (2008-05-09 00:27:30)

  • Labview Loop Takes 100% cpu

    Hello,
    I'm wondering the best way to send a serial command when a button is pressed.  Right now I have a while loop that checks if the button is pressed each time.  If is is, it sends the serial command and adds the response to a text box via a shift register.  If not, the original text box info is passed to the shift register.  However, this loop takes 100% cpu (ok, only one core at 100% so technically %50), and I think its because the text box is getting overwriten every cycle.  However, I'm not sure how else to do it.  Attached is a print screen, let me know if you would like the file.
    Thanks,
    Eric
    Solved!
    Go to Solution.
    Attachments:
    loop1.png ‏42 KB

    An event structure is the best way.  The next best way is to simply put in a wait in the loop.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Tomcat 4.0 and Oracle 10g takes 100% CPU and grinds to a halt

    Hi, I have a system to support that is currently running on Tomcat 4.0 on a Windows Server 2003 R2 SP2 machine with 3.06Ghz, 4Gb Memory, 2Gb Page file connecting to an Oracle 8.1.6 database on a Windows NT 4 virtual server with 3.2Ghz, 1152Mb Memory, 1536Mb Page file.
    I have another Windows virtual server 2003 R2 SP2 machine with 2Gb of memory and a 4Gb page. This server has Tomcat 4.0 and an Oracle 10.2.0.3.0 database. I have made sure that the Oracle 10g classes12.jar file is used.
    I am trying to run the application on the new server. In some tests I had users logging on one by one for the first 5 users - performance was great and the application ran faster than the current live system. When I then got another 10 - 15 people logging on the CPU stuck at 100% on the server, even exploring the server was almost impossible, and the application slowed down to unworkable.
    We dont know if the problem lies with the very fact that we are trying to connect to a 10g database which is cost based and the application was written using rule based Oracle 8. Or is it the virtual server? Or is it the fact that we have both the application and the database on the same server.
    I dont know if it is possible to have another Tomcat4.0 server running on our live server but connecting to the 10g database - what would happen with classes12.zip and classes12.jar? would there be a conflict?
    I would really appreciate some help here. You should know though that I am not a hardened java programmer - I can dabble, but am an Oracle Forms, Reports, Discoverer, SQL person by trade. I am also a trainee DBA, so again am not an expert by any means.
    Thanks in advance for your help
    Lizzie

    lizzie8 wrote:
    Hi, I have a system to support that is currently running on Tomcat 4.0 on a Windows Server 2003 R2 SP2 machine with 3.06Ghz, 4Gb Memory, 2Gb Page file connecting to an Oracle 8.1.6 database on a Windows NT 4 virtual server with 3.2Ghz, 1152Mb Memory, 1536Mb Page file.Tomcat 4? We're up to Tomcat 6. The important difference is the JDK supported. What JDK are you using for Tomcat?
    >
    I have another Windows virtual server 2003 R2 SP2 machine with 2Gb of memory and a 4Gb page. This server has Tomcat 4.0 and an Oracle 10.2.0.3.0 database. I have made sure that the Oracle 10g classes12.jar file is used.classes12.jar is pretty old technology. The JAR should match your JDK and version of Oracle.
    I am trying to run the application on the new server. In some tests I had users logging on one by one for the first 5 users - performance was great and the application ran faster than the current live system. When I then got another 10 - 15 people logging on the CPU stuck at 100% on the server, even exploring the server was almost impossible, and the application slowed down to unworkable.You don't say anything about the whether or not you're using a connection pool or what's happening to the open connections and cursors. If you find that those are drifting up over time, it's likely that the code isn't closing resources properly.
    We dont know if the problem lies with the very fact that we are trying to connect to a 10g database which is cost based and the application was written using rule based Oracle 8. Or is it the virtual server? Or is it the fact that we have both the application and the database on the same server.Database and app server should be separated, IMO.
    I dont know if it is possible to have another Tomcat4.0 server running on our live server but connecting to the 10g database - what would happen with classes12.zip and classes12.jar? would there be a conflict?
    I would really appreciate some help here. You should know though that I am not a hardened java programmer - I can dabble, but am an Oracle Forms, Reports, Discoverer, SQL person by trade. I am also a trainee DBA, so again am not an expert by any means.You need more data. Get some tools to see where the time is being spent. Start monitoring your Oracle connections and cursors to see what's going on. Install some filters to get raw timings on your Java calls. Without data, you're guessing in the dark.
    %

  • Reader 9.1 (Linux) takes 100% CPU

    Initially when starting Adobe Reader and opening a document everything is fine. But after a few minutes Reader takes up to 100% CPU. This also happens when starting Adobe Reader without opening a document.
    It's Adobe Reader 9.1 (AdobeReader_enu-9.1.0-1.i486) on Fedora 10 (i386)

    Hello there,
    I can reproduce the same issue. I just start acroread (without any options or files), wait some time and suddenly acroread starts to use one whole cpu. Here some information about the system:
    > cat /etc/issue
    CentOS release 5.2 (Final)
    > uname -a
    Linux wumc0310 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
    > acroread -v
    9.1.0
    I also tried the trick with
    > ACRO_DISABLE_FONT_CONFIG=1 acroread
    but it didn't change anything.
    Do you got some ideas how I can track down this problem? I tried to use
    > acroread -DEBUG
    but here absolutely nothing happened, just with
    > acroread -DEBUG acroread
    the reader started and shows
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api ... [dlopen success for Annots.api, handle = 0xbf32f68]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/EScript.api ... [dlopen success for EScript.api, handle = 0xca14620]
    after some minutes the next plugin info occured:
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/EFS.api ... [dlopen success for EFS.api, handle = 0xcc1fad0]
    and some minutes later, the acroread process started to use the whole cpu...
    If I start acroread and try to trace the programm, at first the output looks like:
    gettimeofday({1242055601, 629918}, NULL) = 0
    ioctl(3, FIONREAD, [0])                 = 0
    gettimeofday({1242055601, 629991}, NULL) = 0
    poll([{fd=3, events=POLLIN}, {fd=13, events=POLLOUT}], 2, 15) = 0
    gettimeofday({1242055601, 644659}, NULL) = 0
    ioctl(3, FIONREAD, [0])                 = 0
    gettimeofday({1242055601, 644729}, NULL) = 0
    poll([{fd=3, events=POLLIN}, {fd=13, events=POLLOUT}], 2, 1) = 0
    gettimeofday({1242055601, 645655}, NULL) = 0
    ioctl(3, FIONREAD, [0])                 = 0
    gettimeofday({1242055601, 645719}, NULL) = 0
    poll([{fd=3, events=POLLIN}, {fd=13, events=POLLOUT}], 2, 0) = 0
    ioctl(3, FIONREAD, [0])                 = 0
    poll([{fd=3, events=POLLIN}, {fd=13, events=POLLOUT}], 2, 0) = 0
    and as soon the cpu consumption has started, the output is:
    gettimeofday({1242055677, 855078}, NULL) = 0
    ioctl(3, FIONREAD, [0])                 = 0
    gettimeofday({1242055677, 855118}, NULL) = 0
    poll([{fd=3, events=POLLIN}, {fd=13, events=POLLOUT, revents=POLLERR|POLLHUP}], 2, 5) = 1
    gettimeofday({1242055677, 855158}, NULL) = 0
    ioctl(3, FIONREAD, [0])                 = 0
    gettimeofday({1242055677, 855197}, NULL) = 0
    poll([{fd=3, events=POLLIN}, {fd=13, events=POLLOUT, revents=POLLERR|POLLHUP}], 2, 5) = 1
    gettimeofday({1242055677, 855237}, NULL) = 0
    ioctl(3, FIONREAD, [0])                 = 0
    gettimeofday({1242055677, 855277}, NULL) = 0
    poll([{fd=3, events=POLLIN}, {fd=13, events=POLLOUT, revents=POLLERR|POLLHUP}], 2, 5) = 1
    (just for the record)
    Greetings
    Toni

  • WindowServer process takes 100% CPU

    PowerBook G4 1,5 Ghz, 1GB RAM Leopard 10.5.5.
    Since i installed last Leopard Update i got WindowServer using 100% from time to time. No other operations can be done, the notebook is unusable. To resolve the issue i have to rebbot the machine...
    Can anyone tell me if it is a known bug or not?

    I have the exact same problem; the computer continues to run, I can move windows, but everything else is frozen, the computer is unresponsive and the only solution is a force power off reboot.
    The symptoms are as described: windowsserver starts using 99.8% of CPU and simply won't let go of the CPU. I will look into the CoolIris connection, as I have it loaded, but I use Firefox and not Safari.
    No one seems to have the solution, but it is comforting to know that I am not the only one having the issue.
    APPLE: Please take note, this is a OS bug that needs to be fixed.

  • HTTPService request takes 100% cpu

    Hi,
    I've developed a Flex app that displays an organization chart
    of employees in a company. As the user navigates around the tree,
    it requests data as needed from the server using an HTTPService
    object. I've noticed that when the application first starts up, it
    takes about 7 seconds for it to load the data. During this time, my
    CPU is pegged at 100%, which causes the browser to be completely
    unresponsive. This happens in both IE and Firefox. Subsequent
    requests to the server complete in well under a second (usually
    ~200ms), but still use substantial CPU power. The data being
    returned from the server is in JSON format, and usually consists of
    about 5 nested objects with ~10 string properties each (this seems
    like a pretty light load to me). I'm using the corelib JSON decoder
    library. There is nothing different about the requests being made
    except that when the app first starts up, it makes 2 requests
    simultaneously (both from the same HTTPService object but with
    different parameters on the request) -- could this be causing the
    massive slowdown? It seems like Flex does a busy-wait while the
    first request completes before beginning the second. Through
    trace() statements added to my code, I can see it make both web
    requests one immediately after the other, the first one returns in
    under a second, then it waits for a long time before the second one
    returns. Googling for this problem hasn't returned anyone else
    experiencing this problem. Any help improving the performance of my
    application would be greatly appreciated.

    An event structure is the best way.  The next best way is to simply put in a wait in the loop.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • SVCHost.exe takes 100% cpu on random occasions

    Ok so I have had a rather interesting problem and I don't know for sure if it is related to the sound blaster card in my computer or not.
    I have a Sound Blaster Audigy 2ZS. Once in a while, usually later at night an svchost.exe process starts taking up 00% of my cpu. If I kill it and run any programs after killing it that use sound, I get no sound until I restart my PC. Programs that are running while that process takes 00% of my cpu keep their sound even after I kill the process until I close and reopen those programs. These programs consist of things like World of Warcraft, Windows Media Player, VLC Media Player and the like.
    I was wondering if anyone has had a similar problem or knows what it might be, and possibly a solution.
    Thanks
    ::edit:: renamed svchost.dll to correct name of svchost.exe. Was confused my bad!Message Edited by jziah86 on 05-4-200702:43 PM

    Aware that svchost is not a driver. Aware that it manages the functions of any program that opens and is running on your system. Aware that Creative driver is loaded and problem with an instance of svc.host begins to display and that 00% of system resources are in use. Aware that when that instance of svc.host is ended that the problem is resolved and that the sound card will no longer function. Visitng other forums lead me to the investigate the Creative issue further. It is clear that there is a relationship between the loading of the Audigy sound card driver and the malfunction in the management of memory and system resources at a root level. The claim being made at present is that there is a conflict between the driver and something in a recent XP update from our friends and family at Microsoft. Since this is on one of my home systems, this weekend I will try to rollback to an older driver to see if it makes any difference. I will then try a different sound card to see if the problem persists. If so, I'll simply dump my Audigy card(s) and move onto something else. Hate to do it, but I don't have the time to fix their problem. Any other suggestions - especially from the Creative people who have advised that my card is beyond warranty and I can pay them to try to find a solution. Well, I'll pay for another sound card first! Don't expect them to fix my problems, but to fix their own. Like many buyers I do a lot of research BEFORE I purchase new components. Reviews and user comments mean a lot.

  • [SOLVED] Kwin in multisession takes 100% CPU

    Hi!
    I dared to put this topic because I can't find workaround anywhere
    When I'm opening second session, kwin sucks 100% for first user kwin process,
    when I'm switching back (ctrl+alt+F7) to first session, it starts the same for second user.
    It stops when I switched off KDE desktop effects.
    I tried to add users to 'video' group - doesn't help
    It has happened for a month or bit more and before never occured.
    I'm using nvidia-304 for GForce 6150 on-board staff.
    Can you help me?
    Last edited by SeeLook (2013-12-14 19:00:30)

    Just tested, so far so good.
    I created /etc/profile.d/00-glyield.sh containing
    export __GL_YIELD="USLEEP"
    and made it executable. I also added /etx/X11/xorg.conf.d/20-nvidia.conf containing
    Section "Device" Identifier "GeForce GTX 640"
    Driver "nvidia"
    Option "NoLogo" "True"
    Option "CoolBits" "1"
    Option "TripleBuffer" "True"
    EndSection
    Seems to make initial login take even longer, but things seem to work after. The kde bug linked from the aforementioned post was were I got the settings from and has a better explanation https://bugs.kde.org/show_bug.cgi?id=322060.

  • Itunes takes 100% CPU usage ?

    hi;
         recently I updated my iTunes to v10.6.1 and after the update iTunes started taking 50% CPU and another 48% went to AppleMobileDeviceService which made my computer painfully slow.
         i tried to fix the problem by completely uninstalling and reinstalling all of the Apple Inc. software but didn't help.
         can you help me fix this problem also is there any other information I need to provide ?
    thank you

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • OAM process takes 100% CPU (strange SQL in it)

    Hi!
    I have noticed on our PROD that on eprocess is taking more then 7 hours with 100% CPU load. Here is brief detail about it:
    03:08:12 apps@PROD> @si 547
    Current SQL....have result if session is active....
    SQL_FULLTEXT
    Select count(distinct(R.Request_ID))  From  Fnd_Concurrent_Programs_vl CP,  Fnd_User U, Fnd_Concurr
    ent_Requests R, Fnd_Responsibility_Tl RES,  Fnd_Application_vl A
    Elapsed: 00:00:00.06
    SID_SERIAL  STATE      OSUSER     TERMINAL   LOGON           SEC_WAIT LAST_CALL
      547,42977 WAITED SHO prod       unknown    12.01 12:50:54     26423     26425
                RT TIME
    Elapsed: 00:00:00.01
    SID_SERIAL      AUDSID DBPID  APPPID USERNAME   MODULE        ACTION          STATUS   STATE
      547,42977   11087548 10585  1344   APPS       OAM                           ACTIVE   WAITED SHO
                                                                                           RT TIME
    Elapsed: 00:00:00.01
    03:15:41 apps@PROD> As you can see, SQL is prety strange and it's plan is several Gigs(!!!) Because module is OAM I have no guts to kill it just like that. Is there any way to see what is this really and could it be killed (Do I have to restart concurrent) or what?
    THX in front.
    Damir Vadas
    Edited by: Funky on Jan 13, 2009 3:15 AM

    After some KGB approaches, one user with System Administrator responsibility has admit that he has run by mistake u query!
    So be aware whom do you expose System Administrator responsibility!
    Case closed!

  • Windows explorer takes 100% CPU

    Hi, folks ... I have t42 with a strange problem. Sometimes the windows explorer get 100% of the CPU especially when skype is on and rarely when its not sign in ... the OS installation is clean and I can't find any information about this. Thanks for help. Regards!

    Hello,
    Let's see if we can identify where the problem is more specifically....  A few questions, in no particular order:
    •  Does the problem occur if you log in as a different user?
    •  Does the problem occur if you start the computer in Safe Mode?
    Knowing the answers to the former will help us determine whether the problem is due to software running just under your user profile, while the answers to the latter will help reduce the number of possible programs that could be responsible for the issue, since booting in Safe Mode only loads a fraction of those which normally run under Windows.
    Regards,
    Aryeh Goretsky
    I am a volunteer and neither a Lenovo nor a Microsoft employee. • Dexter is a good dog • Dexter je dobrý pes
    S230u (3347-4HU) • X220 (4286-CTO) • W510 (4318-CTO) • W530 (2441-4R3) • X100e (3508-CTO) • X120e (0596-CTO) • T61p (6459-CTO) • T43p (2678-H7U) • T42 (2378-R4U) • T23 (2648-LU7)
      Deutsche Community   Comunidad en Español Русскоязычное Сообщество

  • My TreeCellEditor takes 100% CPU-power

    Hi,
    I have a custom TreeCellEditor on a JTree which displays a JComponent with (a JCheckBox and a JLabel). When I click once on a label ( on a checkbox, everything is normal ), the nodes is selected and the TreeCellEditor is invoked. But when I open the Windows Task Manager, I see that the thread is using 100% processer power. This stops as soon as I click on a JCheckBox or when I expand or collapse another node in the tree.
    I've put tracing code in all my methods, but none of them seem to cause an infinite loop... Any ideas...?
    Thanx!

    I really don't have the time to search the relevant peaces of code, but maybe you can help me find the problem myself. When I override the paint() method in my component and I dump the stack before calling the super.paint(), I can see that the repaintmanager considers the component as a 'dirty region' and repaints it, over and over and over...
    Do you, or anybody else, know when the repaintmanager considers a component as 'dirty' ?

  • Java Process in Oracle 10g AS

    Hi,
    The folowing process takes 50% cpu and sometimes it takes 100% cpu in Oracle 10g AS (OS version 5.8), what is the way to get ride of this problem?
    /ORACLE_HOME/jdk/jre/bin/java -server -cp /ORACLE_HOME
    Also, please let me know how to get into oracle 10g AS OEM
    Thanks in Advance
    bala

    Also, not to add to your troubles, but this is something you really should research and know yourself.
    If you're the person responsible for running AS in your organisation, then you should know how to stop, start and restart the processes whilst blindfolded (figuratively speaking).
    The first time your server crashes during a critical period, you really don't want to have to wait until you get an answer back from an internet forum before you know how to restart it.
    If it's not your responsibility to administer the AS, then you need to find the person who is responsible and ask them.

Maybe you are looking for