Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
URGENT: CPU 100% SQLSERVR.EXE but no high CPU...
11 posts, Page 1 of 2
1
2
»»
URGENT: CPU 100% SQLSERVR.EXE but no high CPU process
Rate Topic
Display Mode
Topic Options
Author
Message
sotn
sotn
Posted Tuesday, December 11, 2012 3:10 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 10:08 AM
Points: 114,
Visits: 364
This morning on our production SQL 2005 9.0.3353 box it is running at 100% CPU.
I have looked at sysprocessses but there is no record showing an abnormally large CPU value.
We have restarted the server and it went back to 100% before any users logged in.
Ther are no SQL Agent jobs running ( I have even stopped that service but sqlservr.exe is still at 99%)
Normally I can find a process/connection causing high CPU but in this case there is no process causing it that I can find.
Before we look at installing SP4 as a guess as it has been running fine for a few years now.
Any ideas?
Post #1394987
sotn
sotn
Posted Tuesday, December 11, 2012 4:04 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 10:08 AM
Points: 114,
Visits: 364
Rather than 1 process, it seems that FETCH_APICursor is recorded thousands of times so the cumulative effect is total CPU.
In SQL profiler, this shows as cursor fetch etc. but for all users.
The application uses cursors heavily (don't ask).
Is there anything to check as to why there would be more calls to a cursor than before, such as tempdb issue?
There is nothing in SQL logs.
Post #1395019
anthony.green
anthony.green
Posted Tuesday, December 11, 2012 4:10 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
Read chapter 3 of the accidental DBA guide, link in my signature below to the download.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1395022
sotn
sotn
Posted Tuesday, December 11, 2012 4:17 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 10:08 AM
Points: 114,
Visits: 364
Thanks for the pointer, I'll read through that.
Normally I find it is a single process which is easy to spot/fix.
Post #1395024
Hemant.R
Hemant.R
Posted Tuesday, December 11, 2012 10:22 PM
SSC Rookie
Group: General Forum Members
Last Login: Yesterday @ 4:38 AM
Points: 46,
Visits: 180
please check any sql system background process is running with high CPU
like CHECKPOINT , LAZY WRITER ,RESOURCE MONITOR
Post #1395427
jeetsingh.cs
jeetsingh.cs
Posted Tuesday, December 11, 2012 10:48 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Thursday, May 16, 2013 11:06 PM
Points: 179,
Visits: 380
Problem may be there in your cursor any one of them
may be going into a infinite loop
thats why the cpu usage may be high all the time
due to the infinite loop
Post #1395433
anthony.green
anthony.green
Posted Wednesday, December 12, 2012 1:47 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
What is the application which the database serves? Going to go out on a wild guess and say Dynamics?
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1395494
sotn
sotn
Posted Wednesday, December 12, 2012 1:57 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 10:08 AM
Points: 114,
Visits: 364
Amazing, good guess
Post #1395502
anthony.green
anthony.green
Posted Wednesday, December 12, 2012 2:11 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
http://www.microsoft.com/en-gb/download/details.aspx?id=13647
Troubleshooting Dynamics
Two links I have used in the past on configuring the DB server for Dynamics, and also trouble shooting Dynamics.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1395511
sotn
sotn
Posted Wednesday, December 12, 2012 2:16 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 10:08 AM
Points: 114,
Visits: 364
Thanks, but we are not using that member of the dynamics family (we use NAV which is even more cursor heavy) but the 'concepts' still apply.
Post #1395517
« Prev Topic
|
Next Topic »
11 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.