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 ...Performance - Startup times, vbc.exe and pre-compilingPerformance - Startup times, vbc.exe and pre-compiling
Previous
 
Next
New Post
7/21/2009 11:19 AM
 

My DNN install (4.9.3) is pretty common with a single portal configured, I have a fair number of modules installed (66 including core modules, yes I know a lot, but many are supplemental to the actual module installed - i.e. 66 are listed in the installed modules listing, 3 represent Ventrian News Articles, 3 for Property Agent etc.).

Whenever I recycle my app pool, install a new module or touch the web.config file it seems to force a re-compile of all the modules (at least that’s what I assume), it can often take a couple of minutes for the site to become responsive again. I'm running my instance on a dedicated server and it's more or less the only thing on their (sans a low traffic mail server etc). VBC.EXE pegs the processor until the site comes back to life.

Now I understand the nature of Asp.Net, App Pools and reasoning between choosing a web site project vs. a web application project from a developer perspective to secure your IP vs. compiling pages rather than complete assemblies, but here's my question:

How can I reduce the startup time of my site? Is there something I can do to pre-compile the site / modules? I've already tweaked my App Pool to not recycle as often and/or at opportune times in the early morning, I also have a keep alive service hitting my site but that doesn't help the initial load times. And what’s worse is when I install a new module it seems to recompile everything and take the same amount of time to return to life, so every minor module update is a painful experience...

On a side note after the initial load time there also seems to be an inherent lag on hitting the pages for the first time after an app pool recycle/recompile. Is this the nature of the beast? Or is my site acting out of the norm? Do the pages need to do any compilation themselves when they are first hit or would you write this off as a cache population issue (which I don't agree with as the page will be responsive for days after with no traffic). And if this is the case, does anyone know of a module or keep alive service that will walk the sitemap so as to load each page on the site?

Any feedback would be greatly appreciated...

Thanks, TJ

 

 
New Post
7/21/2009 2:36 PM
 

TJ,

There are a number of things that you can do, it just depends on what works for you.  First of all with any commercial modules, be sure that you are installing their install versions and not a source version.  As much as you can, especially with that many modules getting ones that were built with WAP would be good.

Secondly, validate your performance settings in DNN, sometimes those items can have an effect.  Also, look at the event log for any recurring errors on application start, any error on startup just adds to the page loading time.

Third, you cannot pre-compile DNN, but in all reality that shouldn't matter too much.

Lastly, you might look at a keepalive or other service or modify IIS to disable the idle timeout to prevent un-necessary application recycles.


-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
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Performance - Startup times, vbc.exe and pre-compilingPerformance - Startup times, vbc.exe and pre-compiling


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