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.2 & 3  Config issue..  runs way too slowDNN 4.5.2 & 3 Config issue.. runs way too slow
Previous
 
Next
New Post
6/8/2007 12:19 PM
 

Hey all,

I'm a bit new to DNN, as in, i just installed my first one 2 weeks ago, and i'm working on updating, configging, and developing now.  But i'm having some major problems with the performance.   I'm buiding DNN into our Guild pages (http://beta.forceofretribution.com) and i'm trying to get it to perform alot faster.  i had issues before with it always trying to install a new version, or to reinstall (not sure if thats a latency/time out error thing) but it would always do that, and some idiot would undoubtedly hit 'install' and screw up my web.config. 

So, A couple problems...
1, i gotta remove teh install.aspx file. 
2.  Figure out why eveything is running so slow. 

I put it in it's own application group, and just from turning it on, the memory usage jumps to 50MB.  I haven't even used it yet..lol.  The database is only 12MB. 

How can i make this site run faster...  Thanks for your help

~Doc

 
New Post
6/8/2007 2:39 PM
 

Ok a couple of things.  For you reinstall thing, set the "AutoUpgrade" appSetting to "False" in your web config that should stop it form trying to install.  You do not want to remove the install.aspx file.

As for performance.  First of all the memory usage isn't all that suprising given the nature of DNN and the caching.  Now, when I just went to your site the first load took a while, that was due to the application pool being shut down and it needing to recompile and load the page.  You can prevent this issue by using a keepalive service such as http://www.host-tracker.com (Its free) to have it periodically request a page on the site, that will keep the application loaded and get you better load times.

Also, you can use the whitespace filter to reduce the size of generated pages that helps quite a bit.  Also, ensure that caching is set to either Moderate or Heavy that also helps.  You can try playing around with the compression that is included with the core if you want.  Also if you are really concerned with speed you might have a look at the PageBlaster module by Snapsis.com


-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
6/15/2007 5:17 PM
 

Okay...  Here's what i've done.. 

1.  Set AutoUpgrade to False,   (That worked out great) .
2.  Set the keep alive service on it.  That also worked out great.  

Here's where i'm having some issues tho...

 - Where can i set the caching at?  I've looked in the application pool and the website properties in IIS.  Didn't find it.  
 - I have Visual Studio on my laptop, as every good developer probably does, and I'm wondering if i can compile the website, and just publish it out to the website, to keep the load times low.
 - Is there a huge performance hit when you use MSSQL05 vs. SQLExpress?  We're using SQLExpress, so, i'm not sure if moving it will make it work better. 

I think that will round out my newb questions for the day.  Thanks for getting back to me with advice, because once I get the hang of this, I can start developing for this platform. 

~Dan

 
New Post
6/15/2007 6:51 PM
 

You will find dnn performance and compression settings by logging in as host and going to host settings. 

This is not how Visual Studio and DNN work together.  You use VS to compile the solution for installation and development purposes.  It doesn't per say publish the site.  If you've signed up for the service mentioned earlier in the post, you've done as much as you can do at this point to avoid the IIS worker process recycling.

I'm not sure how SQL Express performs under extremely heavy loads, but I don't think the core team would have made it the default db for most standard installs if there was a significant performance hit in using this version verses SQL 2005.

 
New Post
6/15/2007 7:32 PM
 

couple of quick points

  • make sure you have read/write permissions to the web.config file set. During install, the installationDate is written in there, and if the file is readonly then it can't write this node, and this can end up causing mulitple attempts at installation
  • do not precompile dotnetnuke, at present it does not support it due to an issue with resource files - we are looking at supporting this use case, but it's not an easy fix
  • sql express will scale identically to sql 2005 - it simply limits what it will do by limiting the amount of memory for queries to 1GB. This will support a fairly decent site - i recommend you do some perf testing to establish how much your site can handle
  • as mentioned, there are settings such as caching and whitespace filtering under the host menu , some users also use the pageblaster module http://www.snapsis.com/OnlineStore/BrowseProducts/tabid/589/List/1/CategoryID/1/Level/a/Default.aspx to improve performance

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 4.5.2 & 3  Config issue..  runs way too slowDNN 4.5.2 & 3 Config issue.. runs way too slow


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