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 ...Need help debugging serious ActiveForums problemNeed help debugging serious ActiveForums problem
Previous
 
Next
New Post
9/7/2006 7:00 PM
 

Take a look at these screenshots of server CPU usage as a result of a problem with ActiveForums. 

What appears to happen is that ActiveForums corrupts the indexes (or moves many records) of its posts table, resulting in *each* click on a thread requiring near 100% CPU usage for several seconds.  When multiple users are clicking on  threads, the CPU is continuously stressed as it churns through 200,000 records with no index.  Users complain (and I have witnessed firsthand) *extreme* slowdowns in viewing individual threads and posting message, but not in topic listings. 

You'll see in the pictures the dramatic difference reindexing and defragmenting *just* the ActiveForums "NTForums_Posts" table has on the server:

ActiveForums_3pm_Sunday1.jpg
ActiveForums_3pm_Sunday2.jpg
ActiveForums_7pm_Sunday1.jpg
ActiveForums_7pm_Sunday2.jpg
ActiveForums_7pm_Sunday3.jpg

Notice that the first 2 snapshots were taken only 4 hours before the second 3 snapshots.  I've had this problem reoccur within an hour.  I've had the DNN forums running fine on this server for 2 weeks prior to switching to ActiveForums. 

As a temporary fix I have the ActiveForums NTForums_Posts table being reindexed and defragmented every 15 minutes to reduce the time the server is "broken".  For example, if it breaks at 9:09 PM, it will only be broken for 6 minutes, at which point the reindex/defragment script shown in the first picture runs and fixes the table.

The server is a brand new dual core 3.2 Ghz Dell with 4 GB of memory running enterprise Windows Server 2003 and the full SQL server 2005.  I've had no problem like this on any table besides the ActiveForums NTForums_Posts table, including the DNN forums I was running previously with the same posts.  

I've emailed with ActiveForums for more than a week now, but they have offered no possible fixes, and refuse to tell me which performance counters I should log or which stored procedure is used for the ActiveForums search (a possible cause of the problem).  Can someone here offer me some debugging advice for determining the cause of this problem?

Regards,

Mike

 

 

 
New Post
9/8/2006 11:36 AM
 

Have you tried using SQL profiler to see what is happening at the database when you click on a thread?  It may be difficult to see what is going on, on a busy server.  If you have a test server are there are times when the server is slower.  I'm not an expert in the profiler but you can turn on tracing with all the defaults and see all the calls to stored procedures.

Be warned though it is scary to see all the stuff happening in SQL server when a person hits a page in DNN.

mj


Michael Jackson
Brillnat.com
Custom module development
Database access tokenized HTML modules
 
New Post
9/8/2006 5:26 PM
 
Excellent, thank you for the tip Michael, I will try it.  Is there a way of filtering the results to get only calls to the Active Forums stored procedures?
 
New Post
9/8/2006 6:40 PM
 

I was under the impression you didn't know the name of the stored procedures. 

It can filter on the name of things.  If you can get the server at a slow time and then get a trace running then click on the forum you should see everything that happens.  Then stop the trace and look at the stored procedures that are called.  You should find the ones you want based on its name and then open it up and see what is happening.

 

mj

 


Michael Jackson
Brillnat.com
Custom module development
Database access tokenized HTML modules
 
New Post
9/9/2006 2:31 AM
 

Mike,

We offered, on more than one occassion, to look at your database.  We asked for a backup of the database or for access to the server.  We also provided you with links to articles on performance tuning your indexes.  Instead you wanted us to tell you how to troubleshoot the problem, which we can't until we could get a full picture of what we are dealing with.

My offer still stands.

Will


Will Morgenweck
VP, Product Management
DotNetNuke Corp.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Need help debugging serious ActiveForums problemNeed help debugging serious ActiveForums problem


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