Long wait : resmgr:cpu quantum making the qwury hang

Hi Everyone,
We are on Oracle EBS : 11.5 and Oracle Database 11.2.0.2.
Since last night one of the concurrent request is running and on querying the v$sqltext , it shows that its stuck at one select query.
On further investigation using the v$session_waits table against the sid : i came accross the follow info:
SQL> select event,wait_class from v$session_wait where sid=656;
EVENT                          WAIT_CLASS
resmgr:cpu quantum             Schedulerthe current settings for the same in the database are :
SQL> show parameter resource
NAME                                 TYPE        VALUE
resource_limit                       boolean     FALSE
resource_manager_cpu_allocation      integer     56
resource_manager_plan                string      SCHEDULER[0x194DA9]:DEFAULT_MA
                                                 INTENANCE_PLANPlease provide your suggestions.
Regards
Kk

To reset the parameter, issue:
SQL> alter system set resource_manager_plan='' scope=spfile;
I tried in dev instance and i was unable to set it to the above value.
SQL>
alter system set resource_manager_plan='SCHEDULER[0x194DA9]:DEFAULT_MAINTENANCE_PLAN'scope=both;SQL>
alter system set resource_manager_plan='SCHEDULER[0x194DA9]:DEFAULT_MAINTENANCE_PLAN'scope=both
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-56714: Plan name SCHEDULER[0x194DA9]:DEFAULT_MAINTENANCE_PLAN exceeds the
maximum length allowed
Try the following:
SQL> alter system set resource_manager_plan='SCHEDULER[0x194DA9]:DEFAULT_MAINTENANCE_PLAN' scope=both;
Or,
SQL> alter system set resource_manager_plan='SCHEDULER[0x194DA9]:DEFAULT_MAINTENANCE_PLAN' scope=spfile;There should be a space between the value and the scope=both/spfile.
If you use the spfile, then you need to bounce the database.
Thanks,
Hussein

Similar Messages

  • Resmgr:cpu quantum

    A one time set of conditions caused every connected session to show a wait event of resmgr:cpu quantum. This resulted in all new session requests timing out in the listener and all existing sessions to list resmgr:cpu quantum. This occurred to all sessions, even ones which were not in the same resource consumer group.
    The trigger for this observed behavior was none of the causes listed in note 392037.1.
    I've investigated sys.dba_hist_active_sess_history, but I can't seem to find a good _hist table which shows which resource group or plan which was being applied when the resmgr:cpu quantum event was being observed on the session.
    Is there a historical location to find out which consumer group was being applied to a session?
    Is there a problem with a consumer group being on multiple plans?
    Thank You.

    Questions for you:
    * Is this the only resource group in effect?
    * are there any other resource plan set other than cpu_p1?
    Since you have allocated 100% to the cpu_p1, all the cpu resources are utilised for all the users under this group. As you said in the previous post that the new users trying to connect(not under other_groups) were timed out and that makes sense, obviously.
    Now try reducing the cpu_p1 to say 80 and then try the new logins, as they should make it w/out timeout.

  • Resmgr: cpu quantum, location=x - WAIT

    Hi,
    I am having this wait on my XE database, while running 2 heavy imort (not Oracle imports) at the same time.
    This seems to be a strange wait, because the resource manager does not seem to be activated on the XE? Also there is hardly CPU usage on the server itself.
    Does anyone knows what this wait means exactly mean, because there is nothing on metlaink about this wait.
    Thanks,
    Steven

    Hi,
    Interesting
    "Even when jobs are running, Resource Manager will continue to manage the amount of CPU cycles that are assigned to each running job based on the specified resource plan. Keep in mind that Resource Manager can only manage database processes. The active management of CPU cycles does not apply to jobs of type executable."
    Greetings
    Henri

  • Re: HP 15-g020ca long wait time to reach lock screen windows 8

    i have the same issue as this guy but can't seem to figure it out.
    http://answers.microsoft.com/en-us/windows/forum/w​indows8_1-performance/45-seconds-delay-to-reach-lo​...
    long wait time when i open the lid of my notebook. it says locking for a good minute or more, if i do win+L to manually lock it , it takes the same amount of time. can anyone help!! thanks

    DSORacing wrote:
    I have same problem but in a 15-j040us. I made everything that you offer as solution but it cannot upgrade to Windows 8.1.  I read this post from another user with same graphics adapter that my laptop has and it looks like a solution, but at the same time, looks quite dangerous to make. Here is the post. http://208.74.204.203/t5/Notebook-Operating-Systems-and-Software/Updating-to-WIN-8-1-Fix-to-black-sc... Let me know if yu can help with this issue as soon as possible.
    Thanks!
    This  worked for me after 7 attempts with all kind of solutions on different forums. HP Envy 15 Notebook - Intel HD 4000, Nvidia 740
    Locate the F11 key and start tapping it as soon as you turn on the system.
    Stop tapping once you reach the recovery manager screen.
    Click Troubleshoot .
    On the Troubleshoot screen, click Recovery Manager .
    On the OS selection screen, click Windows 8 . Recovery Manager opens.
    Under I need immediate help , click Minimized Image Recovery .
    When Recovery Manager prompts you to back up your files, select a backup option.
    If you have already backed up personal files or you do not want to back up personal files, select Recover without backing up your files , then click Next . Continue to the next step.
    Follow the on screen options and complete the system recovery.
    After the system recovery is complete, click Finish to restart the computer. Complete the setup screens and wait until the computer finishes the setup
    -Then, make sure to install all updates via Windows Update. Do NOT install any drivers for graphics etc.
    -I did NOT do any updates with HP Assistant
    -Run the update via Wired network, disable WiFi and Bluetooth
    -I did disable all things in Autostart. Could be reached via Win8 taskmanager
    -Ran Microsoft Compability checker
    Update went fine this time.
    Some of my steps might not be needed. And of course if MS compbility checker says a driver is not compatible you will have to update it.
    Hopefully it will get you there.

  • Longer wait to get activated with BT ?

    Hi, my dads cabinet recently got enabled and I played an order for him around 2 weeks ago and it was going to be around 4th december to get activated and set up! he was just going for infinity 1 package the only thing he was migrating from sky broadband but i doubt that would have such an impact?
    well one of my mates in the same area ordered the first package through sky and it only took him 2 weeks to get activated an engineer came out yesterday and everything is fine
    so why the long wait going with BT ?

    The migration probably had some impact - it can be 15 days just for an adsl swop. Did you opt for the earliest slot available?
    It is probably just luck dependent on availability at the time of ordering , a cancellation may have just created an earlier date.

  • How to handle long Waits in BPEL?

    Hi,
    We are having a requirement to include a wait of 30 mins in BPEL process. But if this is done, the calling process will time out.
    How do we handle such long waits? If we increase the transaction time out period to 30 min, will it be a performance issue?

    Hi,
    I need to call a external process that could take along time to be resolved. Basically this external process could require human procesess.
    When I call the external process, this one decides if the BPELProces must wait for a future response or could continue without wait.
    Some one has a BPEL example for this kind of process ?
    This an example of my process (The search step is complex process to evaluate and I could not call twice to the external process (cost issues))
    1. BPEL calls external process
    2. external process searchs into the stock for the required product
    2.1 if the required product exists then the external process wait for a human task to be resolved into its internal WorkFlow application. Then BPEL must wait for the future answer
    2.2 if the required product does not exist then the external Process response to BPEL with No-Stock
    Thanks In Advanced
    Edited by: Paúl Pasquel on Sep 15, 2009 10:49 AM
    Edited by: Paúl Pasquel on Sep 15, 2009 10:59 AM

  • If the flash object is placed in 0px div, the creationComplete event is fired after a long wait time

    <Problem>
    My requirement is to hide flash object on browser. However, If the flash object is placed in 0px div, the creationComplete event is fired after a long wait time. Is this a bug of Flex? (or Flash Player?)
    <Sample Code>
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
              initialize="app_initialize(event);" creationComplete="app_creationComplete(event);" >
    <mx:Script>
            <![CDATA[
            import mx.events.FlexEvent;
        private function app_initialize(evt:mx.events.FlexEvent):void
                  ExternalInterface.call("alert", "application initialize.");
        private function app_creationComplete(evt:mx.events.FlexEvent):void
                  ExternalInterface.call("alert", "application creation complete.");
        private function button_creationComplete(evt:mx.events.FlexEvent):void
                  ExternalInterface.call("alert", "button creation complete.");
            ]]>
        </mx:Script>
        <mx:Button id="testButton"  label="button"  creationComplete="button_creationComplete(event);"/>
    </mx:Application>
    <Steps to reproduce>
    1) Dowload the following samples
    MySwf-src.zip
    https://files.acrobat.com/a/preview/c6b7a191-c6c4-486f-9345-e2b5c21a4c0b
    TestSwf.zip
    https://files.acrobat.com/a/preview/98e613e1-63b1-4b2f-93f3-f6e4f4a27f24
    2) Unzip TestSwf.zip.
    3) Copy MySwf.swf, TestInvisible.html, and TestVisible.html to "c:\inetpub\wwwroot\". (Need to install the IIS.)
    4) Visit "http://localhost/TestVisible.html" via IE. notice the creationComplete event fired after initialize event immediately.  -- Correct
    5) Visit "http://localhost/TestInvisible.html" via IE. notice the creationComplete event fired a long time after initialize event.  -- Incorrect
    <Environment>
    Win8.1x64+IIS8.5+IE11+Flash player(13.0.0.182)
    <Note>
    If the flash object is placed in 1px or larger div, the creationComplete event is fired immediately.
    The problem occurs with other browsers(IE9,IE10,FF,Chrome) too.

    Thank you for your response. The computers are indeed running Flash Pro CC 13.1.0.226. I tried to generate a minidump file on four different computers where Flash Pro hung, but was not able to do so on any of them as Flash Pro makes the entire system unresponsive. I get the spinning circle cursor and then the GUI of all apps greys out and fails to update. I don't actually get any sort of error message; everything simply stops responding.
    I was probably unclear above; even if I can alt-tab I can't really interact with any other programs once Flash Pro hangs beyond one or two mouse clicks. So on some computers I could right-click on the process in Process Explorer and choose to create a minidump, which then froze, or I might right-click on the process and have it immediatly freeze. I've experienced about two dozen crashes and I've never been able to really use another program or even kill the Flash process in task manager. I also have to power off the computer by holding down the power button, since while I might be able to open the Start menu I can't reach the point of being able to shut it down without it freezing.
    From what I was able to see in Process Explorer, Flash Pro was using <1% CPU and 120M private / 170M working memory.

  • My external HD of 1TB is not being recognized by the iMac and when after a long waiting period it does, the whole computer becomes extremely slow. Do I need any particular add-on to make it workable?

    My external HD of 1TB is not being recognized by the iMac and when after a long waiting period it does, the whole computer becomes extremely slow. Do I need any particular add-on to make it workable?
    Before I updated to OS X Mavericks I was using another external disk that was getting disconnected ocasionally so I bought a new ADATA HD710 portable 1TB Drive and moved the files to it. This new drive which is supposed to be OS X Mavericks compatible takes minutes to show the files especially when opening second and third level folders which has made mu iMac unusable
    What should I do?

    Your Mac should be able to recognize many different types of drives (including Windows-formatted drives) immediately for Reading, provided they are in good working condition and not damaged. There should be no need to transfer to a different type of drive.
    If there is no recognition of this drive, see if it can be seen in Disk Utility.
    If your aim is to transfer the data on it DO NOT use ERASE or PARTITION as these will completely erase all the information on the Drive.
    If the drive is present while the Mac sleeps, it is likely to drop out and not be seen any longer, especially if it is a USB-powered drive.

  • ICloud is no longer syncing my calendar.  I keep the gmail calendar at home on my laptop and at work on my desktop, but my phone isn't making the changes!  It used to and I haven't changed anything!  Help?

    iCloud is no longer syncing my calendar on my phone.  I do gmail calendar both at home and at work, but it just stopped making the changes to my phone!  I don't think I have changed anything and have run through setting to no avail.  Can anyone help on this?

    See Here  >  iCloud: Troubleshooting iCloud Calendar

  • How can I create a long employment form without making the form widget drag?

    How can I create a long employment form without making the form widget drag?

    Sorry Sachin, I mean that I created a simple form on the page from the widget and started adding fields to it. The more fields I add the slower the delay becomes in creating a new field. Even when I try to select and drag or move an item, there's a huge delay and sometimes the program feezes,  loose what i've done and have ot restart.
    I'm doing an enployment form that has more than 20 fields, at least, and I need to be able to build the fields in separate categories, like Education, Past Employment, etc... quickly without delay issues.
    I can probably send you a snap shot of what I'm talking about if I cna post it or attach it here..?
    ~Andy

  • How long shoukd l need to wait until i can receive the S/N of my student version of creative suite 6

    I just want to know how long i need to wait after i provide all the details to appky a student version of creative suite 6,i am a student!
    so i need to wait the serial no to activitate my software

    Contact S&T support by web chat or mail.
    Mylenium

  • How LONG I'll need to wait for Apple GENIUS fix the incompatibility

    I need to work....How LONG I'll need to wait for Apple GENIUS fix the incompatibility # KEYNOTE and LION???
    What is the best thing I've to do???
    Downgrade the OS??? Change the Plataform????

    Each region has little differences that need to be changed and setup in order for it to work on your phone correctly. Just need to sit and wait...
    Nokia 5800 XpressMusic Red V52.0.007
    Hit the Kudos if I helped!

  • Im trying to get ride of Alias but it keep making copy Now my trash is so big....How long it will take to empty the trash

    Im trying to get ride of Alias but it keep making copy Now my trash is so big....How long it will take to empty the trash

    That's not how it works. Once a device (including a computer) is associated with an Apple ID it cannot be switched for 90 days. See this Apple KB article for more information: http://support.apple.com/kb/HT1420.

  • Long waiting times when going back to the organizer after doing changes of images. Elements 11.

    After doing changes of images and going back to the organizer I have to wait a long time. This was not the case when I used elements 9. I have a lot of images stored around 18000. There are also often long waiting times when I move around in the organizer. Any suggestion?
    Bo Augustsson

    Please see blog: http://psekb.blogspot.in/2013/04/how-to-improve-pses-performance-please.html
    Please let me know if that doesn't helps.
    ~Andromeda

  • Why the long wait to get fios installed?

    All you read about these days is how the verizon strike hasn't affected service to their customers, and yet I can't even get a date to install the service. To add insult to injury, the operators on the phone refuse to even acknowledge that the strike is the cause for the long delays. Does Verizon really not understand that a person can not wait a month to have tv, phone and Internet installed? I suppose time warner is my only option at this point even with their inferior product.
    If Verizon's treatment of a life long customer is any reflection of how they treat their workers, perhaps unions still play an important role. If only there were consumer union groups...
    If anyone has any ideas on how to actually get fios installed in a reasonable time frame, please inform me. This whole experience has really degraded my opinion of Verizon, a company that currently gets way too much of my hard earned money.
    Joe

    One month? Good luck with that as I am expecting it to be longer than that.  I just moved and had my fios / tv install scheduled for last Wed 8/10/11 and the automated system called me the night before cancelling it on me and stating they have no install dates scheduled but will call when they start accepting them again.  Not sure how long I can leave the family hanging with only OTA on the tv and phones for surfing.............

Maybe you are looking for

  • Error while saving PO in me21n

    Dear all when i creating PO i am  giving some vendor code ,name , but this details is getting changed after saving PO . showing some other vendor code ,name and  date and finally throwing error "express document update was terminated received from au

  • Thumbnails in Column & List views

    My Finder (v10.4.5) mostly does NOT show the thumbnails of my JPGs in Column & List views, unless those JPGs were created on my computer (Tiger 10.4.6). I got it to finally show the thumbnails in Icon view (View > Show View Options > Show Icon Previe

  • SSL connections and inconsistent mail sending

    Hi guys, This is a strange one... I am using a MBP and a PB 12" from home both up to date with 10.5.3, .mac and mail.app For the past month or so I have been having difficulties sending emails from my .mac account to a particular domain using mail.ap

  • Booting Solaris 11 Express from Compact Flash !

    Hello, I've managed to get SOL 11 Express to boot off of a Compact Flash drive. I would now like to minimize the write/erase cycles to extend the life of the compact flash drive. This document outlines the steps that can be taken to reduce writing to

  • Adobe Flash 11.4 doesn't work on firefox

    I am currently using windows 7 and firefox 14.0.1 After updating to the latest version of adobe, which is 11.4, anything that requires flash doesn' work. I have tried this on internet explorer 9 and google chrome, which worked perfectly. So, the issu