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 ...Fix performance and caching problemsFix performance and caching problems
Previous
 
Next
New Post
1/21/2007 8:12 PM
 

We have a reasonability large DNN site (DNN version 4.3.3) with 800 tabs and 35,000 users. It runs on a 2 x Opeteron Dual Core 275 (so 4 CPU cores together) with 4 Gigs if ram. It’s got its own SQL server on the same machine.

We have been experiencing the same problems as described in this thread:

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

When we change tab / module permissions, it doesn’t get reflected right away. Say when we make certain tabs / modules admin only, we don’t see red borders around the modules immediately.  This problem is not constant, if I restart the www publishing service and save web.config to force the application to restart. The problem goes away. But when it starts to happen again, it stays until another restart.

Then we decided to turn off caching (was on default - moderate).  As expected, the server got killed and became un-useble.

SQL profiler registered around 1100 SQL queries in every click.  500 of them being exactly the same query:

exec dbo.GetTabPermissionsByPortal @PortalID = 0

I understand, when caching is turned off, you would expect the system to get stuff from the database on every request.  But why would it do 500 of the same query in the same request? Wouldn’t it make more sense to declare the data static and make it carried through the entire request?

So my questions are:

1. Is caching fixed in version 4.4.0 ? Or are there anything I need to do to

2. Is the DNN core team going to change the way the system works and make sites usable when caching is turned off? Time it takes to load a page seems to be proportional to the number of tabs / users you have at the moment.


 

 
New Post
1/22/2007 12:18 AM
 

the 4.4 release was focussed on performance and extensive work was done on reducing repetitive queries amongst other things (AFAIR getTabPermissionsByPortal was the biggest issue), so i highly recommend you upgrade to it (or 4.4.1 which should be out in the next few days)

I suspect your module issue may be web garden related (i.e. multiple threads), see http://blogs.snapsis.com/PermaLink,guid,37b89073-dc91-4ae1-b5c5-94d9a0980c7d.aspx for details on how to fix.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Fix performance and caching problemsFix performance and caching problems


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