Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL server constantly having CPU peggedSQL server constantly having CPU pegged
Previous
 
Next
New Post
2/15/2006 12:29 PM
 
I just trimmed those 2 logfiles and saved myself about 35 GIGS off my database.  Awesome.  Thx :)
 
New Post
2/15/2006 1:31 PM
 

Hey Tim,

The transaction logs will fill the database space and not the disk space.  This is because an increasing transaction log won't automaticly increase the size of the database the same way that just normal use will.  So if your DB is currently say 10 GB and the transaction log (which is basicly a complete copy of your database) pushes the total DB size above 10GB then there is no space left to write more transactions and an error is generated. Eventually there won't be room enough to write normal data and the transaction log and your site will go down.

I would follow Scotts advice.  You need to find out which stored procedures or schedule is running so much there are tools oout there that will be able to show you.  There might even be messages in your system event log.  Once you know which procedures are the problem figuring out a fix is probably pretty easy. 

I don't know how you have the DB architected, but with big databases like yours the defaults are not really workable.  At the very least the disk configuration should probably be raid 5 and you should be using multiple DB files.  watch the physical size on disk of those files also.  I would probably limit the size to less than 2GB.  All this will just make queries and logging run much faster.  If you have just the default database settings you could be running into time out issues with queries.  I'm not sure how DNN would handle that. deleting the 35GB of log data will probably help you out a little bit.  :)


Paul Davis
 
New Post
2/15/2006 3:49 PM
 

Thanks again for your great comments!

I have my logging method set to simple, so it shouldn't log much, right?  I have yet to see any error messages indicating my DB has run out of space so I think that is good to go.  I checked my disk que length and stuff and that looks fine.

Finding the stored procedure that runs and uses so much CPU.. that is still a bit tricky for me.  I've been digging through google for a couple days now and haven't found anything to help tell me what in the SQL server is causing the CPU to peg so much.  As of right now, I have my SQL server constrained to 1 CPU, and it has been pegged 100% now for 3 days straight.  Everything seems to run fast, no bottlenecks detected, yet the SQL is pegged 100%.

Right now I'm confronted with something even bigger and deadlier.  My DNN install is crashing multiple times a day and, while I do have some errors I am pursuing, I haven't isolated the problem.  This problem is causing me to almost cry : /

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/108/threadid/19637/scope/posts/Default.aspx

Could you please glance that thread over and see if anything jumps out at you?  I've been practically living on google.com and microsoft.com but have yet to find anything to help.

Adeian - Thank you VERY MUCH for all your comments.  I sincerely appreciate you taking the time to lend a hand. 
 
New Post
2/16/2006 3:20 PM
 

I isolated my SQL CPU usage to a single processor now, and it is at 100% CPU forever.. like 3 days straight. 

I went to Host->Schedule  and I noticed that the "DotNetNuke.Services.Search.SearchEngineScheduler, DOTNETNUKE"  had durations of 10697.953875 ms   Sometimes it would success, quite often it would not.  The START and END times sometimes were 2 hours apart.

I just disabled that and I am going to restart DNN (and MSSQL) and see if that had any effect.

 
New Post
2/16/2006 3:45 PM
 
timtimtimtimtim wroteI just disabled that and I am going to restart DNN (and MSSQL) and see if that had any effect.

I think that was it.  My CPU went down from 100% constant peg to averaging about 15-30% CPU.

Yes, ignorance is bliss, until you have a problem :)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL server constantly having CPU peggedSQL server constantly having CPU pegged


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out