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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 4.5.5 Performance problem (GetTabPermissionsByPortal)DNN 4.5.5 Performance problem (GetTabPermissionsByPortal)
Previous
 
Next
New Post
9/5/2007 7:03 AM
 

Hi,

I got to the point where I really need help.

I have messed with performance problems for months now, trying caching in all aspects, ping services, keep alives, iis isolation modes, webfarming etc etc etc. Got all errors fixed there was in the event log and still my CPU goes balistic everytime a page loads ( 100% for 5 to 15 seconds ).

In the end I ran SQL profiler on the SQL 2005 Express that DNN reads from. The big performance eater here is this call GetTabPermissionsByPortal that for some reason is called alot of times for each click on the site.

Any recommandations?

Regards

Vels

 
New Post
9/5/2007 11:03 AM
 

My guess is that as the size of the site grows, this will get to be more problematic due to the fact that the view it pulls from (vw_TabPermissions) includes 3 LEFT OUTER JOIN statements in the queries, going out to permissions, roles and users from the tabs.

You could have a look at the indexing on each of the tables to see if there is any way that you can help the indexing scheme.  You could also take a look at the execution plan and see what the bottle neck is.

I believe if I recall correctly that in 4.6.0 they are doing some better caching of this informaiton, but do not quote me on this....


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
9/6/2007 2:12 AM
 

Well actually the site is not that big. 88 pages and no users yet since it is not released to the public but just going thru internal test.

It ofcourse helps to set chache mode to moderate, but that sometimes has a nasty effect on the forum when making a new thread. For some reason that does not always handle caching very nicely.

I guess there is nothing to do but perhaps discharge the forum until a new performance improved version gets released.

I by the way noticed that aspnet_wp eats alot of cpu along with the sqlserver. The server is a 2 x 3GHz Pentium with 3GB RAM so its pretty annoying to see a server that should be powerfull enough to run this go to its knees.

Thank you for your reply.

Regards

Vels

 
New Post
9/6/2007 5:54 AM
 

Hi,

A while back I also ran into some performance problems with DNN. Now I index my SQL server on a daily basis and performance went up quite drastically.

Also did you install the various Service Packs available for your Windows and SQL server? If memory serves me well the aspnet_wp and sqlserver load can be diminished drastically by installing the latest service packs. But you should check the MSDN for the exact details.

Also within IIS you could set your application pool settings on how you would like your DNN executable to behave.

Regards,

Jerry
IT Consultant
Amsterdam

Regards,

Jerry Tjon
IT Consultant
Amsterdam,
the Netherlands
 
New Post
9/6/2007 6:40 AM
 

Thanks Jerry,

Everything is patched to newest updates and SP's inclusive til SQL Server. But if you could tell me how you perform the indexing of the SQL server I would apreciate it since my knowledge on that front aint on expert level.

My IIS is now running IIS 5 isolation mode since running in a application pool consumed huge amounts of memory. No matter what I tweaked and tuned from various articles and tutorials in the app pool the problem kept on being there. The server slowly consumed more and more memory ( up to over 2,5 GB ). Ofcourse I could resolve that by setting memory limits in the app pools - however that was not the sollution I was going for,

It should be said that the performance problem is absolutely worst when I dont use cache in the host options. My reason to disable the cache is that the standard DNN Forum sends out like 10 mails if a issue is updated and sometimes users cannot submit new issues if cache is enabled. I messed with the cachetime of the module that standard is set to -1 and I tried setting it so 0 (zero) with no luck though.

Thanks for your answer, I will be looking forward to trying the indexing.

Regards

Vels

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 4.5.5 Performance problem (GetTabPermissionsByPortal)DNN 4.5.5 Performance problem (GetTabPermissionsByPortal)


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