Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Posts
    2

    Unanswered: SQL Server - High CPU Usage

    Hi,

    For the last week, our production SQL server is running very slow and causing the CPU usage to go 80-100 % almost all the time. This causes certain queries to time out. Our application has never timed out before ever. Also, we did not do any updates on our production machine or installed anything recently.

    Has anyone of you ever experienced this issue? If yes, then what did you do to resolve it? any help would be greatly appreciated.

    Thanks for your help!

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    have you looked at the task manager and the performance monitor on the server? what processes are consuming all of your CPU? what does sp_who look like? Do you see anything in BLKBY field?
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,799
    Provided Answers: 11
    If SQL Server is the one eating up all the CPU, then you should look at what queries are performing badly using SQL Profiler. Run it for anything taking over say 1000 ticks of CPU, and see what you get. You may simply need to recompile a few of these, as they may have gotten bad query plans in the recent past. In order to do that, look up sp_recompile in BOL.

  4. #4
    Join Date
    Oct 2007
    Posts
    2
    Hi,

    Thanks for the reply. I dont see anything in Blk field when I run sp_who. Please see the attached screenshot for the task manager activity at times when it is not busy.

    Thanks.
    Attached Thumbnails Attached Thumbnails server task manager.JPG   server task manager2.JPG  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •