1

our server is running win2003 with mssql 2005 on the same box with 2GB ram. the website itself is based on dnn 4. We are seeing these high cpu usage spikes (mssql) of 95-99% even with no traffic.sometimes they appear with regular intervals with no traffic.

What can possible cause this? how do find the root cause?

3 Answers 3

2

Do you have content indexing turned on in DNN? It could be DNN running an index of your site content. This indexing is performed in the background and will often happen during times when you have no other traffic activity hitting the database.

I would recommend setting up a SQL Server Profiler trace on your database and see what is going on during the spike times.

0

During a period of high CPU usage, you need to either jump on the box and use Activity Monitor, or type in something like sp_who2. Also check to see what SQL Server agent jobs are scheduled, when - and see if this correlates. This will give you an idea of who is doing what.

Squillman's suggestion to use Profiler is good advice, especially to monitor when unattended - and check back later to see what was going on.

1
0
  1. Check for SQL Agent jobs running.
  2. Check to make sure you don't have auto-shrink enabled for any of your databases.
  3. If the server is not dedicated to SQL, make sure memory configuration is set to leave RAM for other processes.
  4. Profiler/sp_who as others have suggessted. Careful with Profiler, it can stress a stressed out server even more if you are capturing too much info.
1
  • 1. no sql agent jobs are running. 2. auto shrink is NOT enabled. 3: how do i allocate ram for other processes and how much should be allocated for sql? and how do i make these settings and where?
    – herman
    Apr 4, 2011 at 22:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .