Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , ,

Sponsored Links



SQL server high cpu usage

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 05-06-2009
Member
 
Join Date: Nov 2008
Posts: 68
SQL server high cpu usage

I have a Windows 2003 Sever with 8 GB RAM running SQL server 2005 SP1. Out of the total memory, SQL is dedicated 6GB memory and 2GB is for the Operating System. Well since a last few days, i have noticed that some server started consuming more CPU then it should consume normally. I tried running many memory and processor related tests but nothing gave me any hint what is causing this steep rise of processor utilization. We had a planned downtime so i restarted the server and everything was fine then. I still don't understand what was actuallu wrong and what was causing it. I have a feeling that this rise in cpu utilization will be back again in a month or so... I'm not sure but i feel so. Can this be an issue due to continuous uptime of the server? We can have a downtime only once in three months... Help!
Reply With Quote
  #2  
Old 05-06-2009
Raine's Avatar
Member
 
Join Date: May 2008
Posts: 3,287
Re: SQL server high cpu usage

There may be above 20 reasons for the same, but try this : Set max server memory and that should vanish. If it does, that means it was caused by some server which is not too active but is consuming memory and CPU usage. Also did you reindex any tables? How often do you run such tasks? including update statistics. What is the system type x64 or x86?
Reply With Quote
  #3  
Old 05-06-2009
Member
 
Join Date: Nov 2008
Posts: 68
Re: SQL server high cpu usage

It is a x86 based system. We run a weekly reindex and a daily update statistics. for now i have set the max memory to 6144MB. Let see if it has some effect or does it come back. Will get back to you if there is any such problems in future. Thanks for the help..!
Reply With Quote
  #4  
Old 05-06-2009
Eric B's Avatar
Member
 
Join Date: Apr 2008
Posts: 4,645
Re: SQL server high cpu usage

There are some problem of 'Lazy Writers' on SQL. If you this you have this problem which is causing the cpu peak then you should update your SQL to SP2 and there are some update patches that must be applied after you update your SQL to SP2. But make sure that this is the problem and only then apply the fixes. This may also screw your configuration.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "SQL server high cpu usage"
Thread Thread Starter Forum Replies Last Post
High CPU usage. Terminate the process and another process starts high CPU usage rincewindwiz Operating Systems 6 27-06-2010 12:51 AM
High cpu usage Tony Parker Hardware Peripherals 3 09-06-2009 01:42 PM
W3WP.EXE High CPU Usage on my WSUS3 Server Simon Gronow Server Update Service 1 18-12-2008 12:17 PM
CPU Usage very high David Windows XP Support 3 15-10-2008 06:55 PM
High CPU Usage but No High Program Usage other than Idle takomamark@gmail.com Windows XP Support 8 18-04-2007 04:56 PM


All times are GMT +5.5. The time now is 09:13 PM.