Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 sqlservr.exe is using 100 percent CPU

Author  Topic 

mahajanakhil1985
Yak Posting Veteran

71 Posts

Posted - 2010-09-02 : 07:06:06
I have SQL Server 2005 Enterprise Edition with SP3. All of a sudden, I have started seeing 100% CPU utilization by process sqlservr.exe. When I stop all SQL Server services, then CPU usage returns to normal. Even when one of the services is running, the CPU usage is again 100%.

I have been searching google pages for days but cannot find a way to resolve it. Has anyone ever seen this before?

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2010-09-02 : 11:39:02
What are your Server Specs??? CPU,Memory and Disk....
Go to Top of Page

mahajanakhil1985
Yak Posting Veteran

71 Posts

Posted - 2010-09-02 : 11:59:44
It's meant for testing customer issues, not at all heavy load. It has just 3-4 databases of very small size.
It is a VM and its specs are: 4G RAM, Intel Xeon E5520 @2.27 GHz and ample free space.
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2010-09-02 : 12:04:52
So how many CPU??
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-09-02 : 12:59:12
you are probably missing indexes. create a trace to capture the most expensive queries. then optimize them.

can also look at the built-in standard reports for top queries by cpu time
Go to Top of Page

mahajanakhil1985
Yak Posting Veteran

71 Posts

Posted - 2010-09-02 : 13:11:13
I was able to correct it merely by deleting a non-required database having 12 GB transaction log.

Thanks sodeep anyways!
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-09-02 : 13:21:17
how does dropping a database fix cpu problems?

i suspect you haven't found the problem yet
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-09-02 : 13:31:46
I agree with russell.

If deleting the database fixed your problem, then someone was using that database. An idle database does not use CPU.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -