How to duplicate the Non-Yielding scheduler case?

I want to do some debugging practices for the Non-Yielding scheduler situation by windbg, so may I know is there any way to duplicate the issue?
Please click the Mark as Answer button if a post solves your problem!

I want to do some debugging practices for the Non-Yielding scheduler situation by windbg, so may I know is there any way to duplicate the issue?
Please click the Mark as Answer button if a post solves your problem!
Its very hard to duplicate the issue.See what causes the issue is when some poorly written query run from application and is such a complex one that it takes sceduler and does not gives it back.When query is submitted it is assigned thread to run and schedulers
run this thread.After query is completed this scheduler moves to run other thread  now if query is such that it keeps on running and does not finishes  your scheduler will be busy.So if you want to reproduce this issue (
Which could be dangerous and can lead to shutdown of SQL Server)
you need to submit a query which works in a way that it hogs scedulers.
I would advise to you not to run this on production( I guess you must be aware about this situation)
What you can also do is on this forum search for Non Yeilding schedulers and look for post where OP has posted Scheduler dump copy it to your environment and test it one such sceduler dump is in below thread
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/fbf1ad50-b9ae-4388-b03d-08374da85974/nonyielding-scheduler?forum=sqldatabaseengine
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
Thank you
Shanky.
I understand the theory for the Non-Yielding scheduler ,The reason I need to duplicate the issue in the test environment is just to study the debugging skills if I meet the Non-Yielding
scheduler situation later.
Please click the Mark as Answer button if a post solves your problem!

Similar Messages

  • Non Yielding scheduler

    Can anyone review please and recommend for this
    Current time is 00:51:59 07/29/14.                                                  
    =====================================================================                                            
           BugCheck Dump                                                              
    =====================================================================                                            
    This file is generated by Microsoft SQL Server                                                            
    version 10.0.2531.0                                                                    
    upon detection of fatal unexpected error. Please return this file,                                               
    the query or program that produced the bugcheck, the database and                                                
    the error log, and any other pertinent information with a Service Request.                                       
    Computer type is Intel(R) Xeon(R) CPU           E5530  @ 2.40GHz.                                              
    Bios Version is HP     - 2                                                                
    8 X64 level 8664, 14 Mhz processor (s).                                                              
    Windows NT 6.0 Build 6002 CSD Service Pack 2.                                                              
    Memory                               
    MemoryLoad = 49%                     
    Total Physical = 36852 MB            
    Available Physical = 18786 MB        
    Total Page File = 70733 MB           
    Available Page File = 53469 MB       
    Total Virtual = 8388607 MB           
    Available Virtual = 8350654 MB       
    ***Unable to get thread context for spid 0                                                              
    * BEGIN STACK DUMP:                                                                    
    *   07/29/14 00:51:59 spid 7332                                                                
    * Non-yielding Scheduler                                                                    
             

    Hi Shanky,
    This forum is one of my best teacher,but to clear confusion about this thread, earlier I posted for Non-yielding resource monitor bugcheck dump and this is for Non-yielding scheduler.
    Thanks a lot.  
    All are almost same IMO in sense they point to bug in SQL Server. As you said you got three different SQL dumps in your 3 different environement but  2 of them were not updated to latest SP. One you confirmed as even after updating service pack
    you still got error. If issue subsides after applying SP its good if it does not I strongly recommend you to open case with Microsoft. I agree it would require shedding some bucks but atleast you would get solution and have a relax mind. IMO only a Microsoft
    engineer can analyze dumps in most accurate way. I am saying this with experience. So take your shot and ask MS guys to analyze it.
    If you want to give it a shot refer link posted by Ashwin.
    You are most welcome to post questions on forum.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How to handle the control records in case of file to idoc scenario.

    Hi All,
    can you please clarify me how to handle the control records in case of file to idoc scenario.

    Hi,
    In File to Idoc scenario even though you selected apply control record values from payload and you are not getting those correct values which you have provided in the mapping.
    Also check the checkboxes Take sender from payload and Take receiver from payload along with the Apply control record values from payload checkbox
    Regards
    Seshagiri

  • How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    HI,
    How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    Thanks Florin,
    Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
    Points have been rewarded for your help.
    Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
    Note: The Exit will be executed if "exit_cancelled"  statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
    Please check the link for adding the code in Work Item Exits.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
    Please find the Code:
    method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
    Get the context of the workitem
      me->wi_context = im_workitem_context.
    After execution of the workitem call the method AFTER_EXECUTION
      if im_event_name eq swrco_event_after_execution.
        me->after_execution( ).
      endif.
    endmethod.
    METHOD AFTER_EXECUTION.
    This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
      DATA: LCL_L_WID TYPE SWW_WIID,
            L_STATUS TYPE SWR_WISTAT-STATUS,
            L_NEW_STATUS  TYPE SWR_WISTAT,
            L_SWR_MESSAG  TYPE STANDARD TABLE OF SWR_MESSAG,
            L_SWR_MSTRUC  TYPE STANDARD TABLE OF SWR_MSTRUC.
    Get work item
      CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
        RECEIVING
          RE_WORKITEM = LCL_L_WID.
      L_STATUS = 'READY'.
      CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
        EXPORTING
          WORKITEM_ID    = LCL_L_WID
          STATUS         = L_STATUS
          USER           = SY-UNAME
          LANGUAGE       = SY-LANGU
          DO_COMMIT      = 'X'
        IMPORTING
          NEW_STATUS     = L_NEW_STATUS
         RETURN_CODE    = SY-SUBRC
        TABLES
          MESSAGE_LINES  = L_SWR_MESSAG
          MESSAGE_STRUCT = L_SWR_MSTRUC.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDMETHOD.
    Thank You Once Again,
    Ajay Kumar Chippa

  • How to clean the dust at charging case

    Hi all,
    how to clean the dust at charging case rubber....
    Cause i have no idea to clean it...
    >.<

    you can clean it do you have some stickers then remove it and apply to that dust area next again remove it u can clean it like that or use screen cleaning cloths
    Do not forget to give kudosand to select the correct answer 

  • How to check the generated work schedules

    Hi Friends,
    We have more than 30 Work schedule rules,  in which some of them have been generated some of not. So now I want to check which work schedules have not been generated. Kindly advice the how can I check the non generated Work schedules or generated work schedule.
    Thanks
    kl

    generally
    We use the following tcodes
    PT01  to generate
    PT02  to change the DWSR
    PT03  to display the DWSR
    more over if u have not generated the Daily work schdule you will get an Error while save DWSR in IT0007  so please check the above tcodes

  • How to Map the Unit field  in case of DSO and INFOCUBE

    Dear Experts,
    I have a issue ,Please help me to solve this
    I have DSO as provider ,
    And, i have to map transformations  btw the Datasource and DSO.
    In generic Data source,  i have unit fields like BASME,MEINS (Quantity units) & STWAE (currency field)
    and normal Quantity fields  like KWMNG,OAUME(quantity related),OAUWE (value related).
    In DSO data fields as Key figure info objects like  0Quantity (which have 0Unit as unit of measure) and some other  key figures which have there respective unit of measure in info object  definition.
    So you Please tell me how to map the Quantity ,Amounts, unit fields to key figures that we have.
    (How it will be for both DSO and Info cube is there any difference?)
    Edited by: AnjunathNaidu on Jan 18, 2012 1:20 PM

    Navasamol ,
    If it is works ,will u please tell me what is the difference ,if the transformations btw data source and DSO and
    what is the difference btw data source and info cube and btw DSO to Infocube or cube to cube .
    And i have  seen the Quantity fields  and there respective unit fields are mapped directly  to key figure info object
    in case of Info cube . Its working fine .
    If only 1:1 mapping allowed in DSO data fields key figures and there respective unit of measure characteristic.
    why this difference btw DSO and Info cube can any one explain me in detail.
    Expecting your valuable suggestions.
    Thanks & Regards,
    Anjunath Naidu
    Edited by: AnjunathNaidu on Jan 18, 2012 4:05 PM

  • How to change the worklist in schedule manager in production system

    we are using schedule manager (SCMA) to arrange the daily process in SAP system. but we have to config the worklist and transport it to the production system every time cause in production system if we press edit worklist there would be a message called " TK430 The system administrator has set your logon client to the 'not modifiable' status.Client-specific objects can not be changed in this client."
    Is there any way that I can directly change the worklist in production system?
    Thanks.
    Jiajia

    Hi SUN,
    Take a look at 11g Grid Control: Steps for Migrating the 11g Grid Control Repository from One Database to Another [ID 1302281.1]. Step 4.7
    and
    http://gavinsoorma.com/2010/10/11g-grid-control-how-to-change-the-oms-repository-database-listener-port-or-hostname/
    ps Stop the OMS first.
    Eric

  • How to access the "Non Adapter" properties in Teststand API

    Hi,
    I'm trying to dynamically create a sequence file through Labview with the help of the API. So far I have eben able to create the file, add a sequence call into the file as well as link the sequence call to a particular sequence file that will be called. Now, I wish to add certain "non-adapter" steps into the sequence file like Goto, Label, Property Loader etc. I can't seem to find a way to access the propeties once the step has been added. In the LV adapter, I was able to access the TSAdp.SequenceCall API and manipulate the properties. How do I do the same for the non-adapter ones?
    Also, when I load the sequence file through the TSAdp.SequenceCall API, i'm unable to access the parameters and link the inputs and outputs. I've attached a portion of my code and would really appreciate some help.
    Thanks in advance,
    -Anshul
    Attachments:
    Dynamic Sequence File.vi ‏127 KB

    Thanks for everyone's replies. I am now able to set the parameters for the sequence file, just that I added a property node for the sequence file path and the sequence before loading the parameters. That did the trick and the rest was easy. Also for Goto, with some digging, I was able to add a custom property step if it fails or passes the step. It works like a charm. I'm attaching a modified version of my code in LV 7.0 format.
    Attachments:
    Dynamic Sequence File-1.vi ‏175 KB

  • HT2534 how to make the None option appear next to the Credit Card selections?

    In the support section, ther eis a How To for setting up an apple ID without a credit card, I know this has worked in the past because I did it once,
    The support page shows that there is an option to select "None" when pestered for credit card details, however in practice this option does not exist,
    Is there a way to make the None appear?

    I started on an iPad2, fresh out of the box, and created the account, it became apparent that those without a credit card may not have an account. I read a few of these threads and tried to "Review" the account using itunes and also the apple site. All roads point to BankCardTM
    Any ideas?
    Is it worth deleting the account and starting again? If so, how?
    GJ

  • How to get the non technical query name from table?

    Hello,
    The table RSZCOMPDIR gives me the list of queries. The field COMPID contains the technical query name.
    But how can I get the non technical name of a query? Which table holds this information?
    Thanks and Regards,
    Sheetal

    Hi Sheetal,
    You can get this info from RSZELTTXT.
    Hope this helps...

  • When MIGO received PO, how to link the PO Delivery Schedule period?

    Dear All,
        I want get the PO Delivery Schedule of  this schedule period received date. But in EKET only Delivery Date, Not have MKPF posting date. In EKBE, have posting date, But when EKET have some items,   how to get the correct period posting date.
    Thanks
    Sun

    you need to join EKBE and EKET table. with the help of  ABAP team.
    the reason behind is EKBE is History per Purchasing Document
    where as EKET is Scheduling Agreement Schedule Lines
    or if you have authorization then create query on your own by Tcode SQVI.
    Edited by: deshamol on May 21, 2009 11:08 AM

  • How to clear the open documents in case if document currency and local curr

    Hi,
        Can anyboday advise how to clear the open document of a particular vendor for a particular company code. Here the issue is that balace is netted to Zero in the document currency but not in the local currency. The document was posted in Currency CAD and the local currency is GBP.
    When i check the FBL1N, there is it showing net balance is ZERO, but document is still in open
    status. I tried using Transaction code F-44, but it is not allowing me.
    Can anyboday advise how to perform this. Points will be awarded.
    Regards,
    Sree.

    Hi,
    In the Company code global parameters(OBY6),select the check box "NO FOREX RATE DIFF.WHEN CLEARING IN LC"
    and try clearing again.(You can have a F1 help on the check box to see what exactly it is).
    Hope this will resolve
    Assign points if useful
    Thanks
    Aravind
    Edited by: Aravind Aitipamula on May 22, 2008 1:36 AM

  • How to get the None button on my account payment page

    I would like to remove my old credit card info from my account and start using only gift and prepaid iTune cards.  However, the None button is not showing on the page.  Is there some sort of pathway that I need to go through to get the button or do I have to have some other support for this function?

    I NEED TO GET MY ITUNE CARD TO MY ACCOUNT

  • How to Handle the lower and upper case in 'POPUP_GET_VALUES'

    Hi All
    i am using the following FM and when i enter value on the
    popup in lower case or with capital letters i see the field
    with upper case ,this is problem for me since i need to
    take the field and compare it ,there is a way to handle this
    issue ?
    CALL FUNCTION 'POPUP_GET_VALUES'                      "#EC FB_RC
            EXPORTING
              popup_title     = lv_head_msg
            IMPORTING
              returncode      = lv_rc    " User response
            TABLES
              fields          = lt_field    " Table fields, values and attributes
            EXCEPTIONS
              error_in_fields = 1
              OTHERS          = 2.
    Best regards
    Alex

    Hi Alex,
    This because, the field and table name that You are passing in lt_field, has a conversion attached to it, which causes the converison in case.
    For e.g. If You pass MARA-MATNR and try to get the values from pop-up, the value will get converted to upper case, but if You pass MAKT-MAKTX (which does not have a converison attached to it), the value will be retrieved as it was entered. This is standard SAP, which is correct.
    If You need to get values of any text field, pass any SAP text field as reference in your table lt_field. Hope this helps...
    Rgds,
    Birendra

Maybe you are looking for

  • Adobe cloud download

    I just subscribed to adobe creative cloud 1-year membership.  i was previously subscrubed to only indesign cloud and was using acrobat and photoshop on 30-day trial period.  now i'm having issues downloading acrobat, photoshop - and/or getting it to

  • Error in calling report from report??

    Hello experts, i am using oracle fusion middleware form and report 11.1.2.1.0 release. i am calling the report from report by using srw.set_hyperlink() function: format trigger code is below: srw.set_hyperlink(temp_path||'/reports/rwservlet?dblogin+s

  • Save en send database access 2010

    I have to save an access database and want it in another country when i sent it by mail and they open it, nothing seems to work . how do I do that ?

  • Can i access photos from .mac

    i am looking for pics hosted on the old .mac site are they gone forever?

  • HT1430 how to turn of the voice

    how to turn of the voice