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...Performance and...Performance and...Application Initialization for IIS 7.5 and DNNApplication Initialization for IIS 7.5 and DNN
Previous
 
Next
New Post
11/14/2012 10:57 AM
 

Has anyone looked at using application initialization for IIS 7.5? It's part of IIS 8.0 but is also available for IIS 7.5 as a download - more information here:

http://forums.iis.net/t/1176740.aspx

The article for 8.0 describes the features in detail and applies to the version for IIS 7.5:

http://www.iis.net/downloads/microsoft/application-initialization

I'd be interested in hearing if anyone has it working successfully for a DotNetNuke.web site.



 
New Post
11/15/2012 3:18 AM
 
I haven't tried it yet, but it should be sufficient to call keepalive.aspx upon IIS warmup.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/15/2013 4:56 PM
 
The point of App Initialization isn't to keep your app warm. (Further, keepalive.aspx is unnecessary for self hosters with IIS 8.5. You can just disable sleep timeout.)

The purpose of App Initialization is to eliminate the cold-start time if your app has to recycle for any number of reasons. It keeps your old app running until it's finished spinning up a new app.

Lot's of things in DNN can require an app to recycle, like memory leaks, cpu's that are spiking, just a scheduled app restart. etc.

So far I'm having an issue with App Initialization.

2013-12-15 11:47:02,472 [App1][Thread:24][FATAL] DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication - System.ArgumentException: An item with the same key has already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at DotNetNuke.Professional.Providers.OutputCachingProviders.FileProvider.FileProvider.GetCacheFolder(Int32 portalId)
at DotNetNuke.Professional.Providers.OutputCachingProviders.FileProvider.FileProvider.StreamOutput(Int32 tabId, String cacheKey, HttpContext context)
at DotNetNuke.Professional.HttpModules.OutputCache.OutputCacheModule.OnResolveRequestCache(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

This doesn't happen every time, but for every few app restarts it's throwing this error for the first few seconds of the new app being active.
 
New Post
12/15/2013 7:21 PM
 

With the way the DNN internal caches work this sounds a bit like a recipe for disaster - DNN itself makes assumptions about the fact that there can only ever be one copy of itself running at once. Part of this relates to file based caching systems - the error seems not unlike issues that relate to webfarms.  What im wondering is - if maybe setting the iswebfarm setting in the webconfig might reduce the error - just a guess here though - would be interested in other peoples thoughts.

 
New Post
12/15/2013 7:42 PM
 
DNN never supported multiple worker processes for an application pool (Web Garden), even in Web Farm configuration.
This sounds like you are trying to implement something comparable.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Application Initialization for IIS 7.5 and DNNApplication Initialization for IIS 7.5 and DNN


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