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...The AppDomain shut down because of the hosting environment.The AppDomain shut down because of the hosting environment.
Previous
 
Next
New Post
7/16/2007 2:12 PM
 

mitchel.sellers@gmail.com wrote

This would be due to the recycling of the ASP.NET worker process by IIS.  TYpically due to inactivity.

Wow. that's the first time I've heard that explanation. I've been researching this issue for sometime because it's a problem with my website. I am hosting an e-commerce solution with dotnetnuke and it's not a good first impression for shoppers to have to wait for the site to startup.

Could you please elaborate on how inactivity causes ASP.NET to recycle?

TIA,

ChrisG

 
New Post
7/22/2007 10:51 AM
 

Bump. Still looking for a response.

Thanks,

ChrisG

 
New Post
7/23/2007 11:17 AM
 

chrisg,

Sorry for the delayed response, the e-mail notification on this reply must have gotten lost in my inbox...(I respond to a lot of posts out here).

By default ASP.NET will shut down the ASP.NET Worker Process after 20 minutes of inactivity.  There are a few things that can be done to prevent this.

1.) If you have access to the hosting server you can modify the inactive timeout value

2.) You can use a service such as http://www.host-tracker.com to request a page from your site every 15 minutes which will keep the site active


-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
7/23/2007 12:37 PM
 

Mitchel,

Thanks for the response. In my case, I guess the real solution is to drive more traffic to my store.

 
New Post
8/19/2008 2:30 AM
 

Here is a possible explanation for the frequent recycling of the app pool, (which in our view is causing more issues than the original problem)

from Scott Forsyth's Blog

"While troubleshooting an unrelated issue on a v2.0 site yesterday, I noticed that there was an AppDomain restart simply by creating a non-application folder. Through further testing I found that adding folders, deleting folders and renaming folders caused the AppDomain recycle. Furthermore, if many dozen files were added in short succession to each other, that would also case the same restart. Of course the app_{folders} will cause a restart, and that makes sense, but completely non-application related folders also cause this same behavior.

It turns out that this was a purposeful change with v2.0 and was done so that stale content doesn't remain in place after a significant change. I guess there were enough situations where that happened that they changed the situations that caused an AppDomain recycle to be far more aggressive than v1.x of the framework."

link: http://weblogs.asp.net/owscott/archive/2006/02/21/ASP.NET-v2.0-_2D00_-AppDomain-recycles_2C00_-more-common-than-before.aspx

Note: this is quite old so I am surprised that it is only recently that I have noticed DotNetNuke recycling every 10 minutes or so, we also use a keep alive utility accessing thne site every 9 minutes but this does not prevent the frequent recycling. 

Regards

Craig


Craig Hubbard TechnicaOne Business Solutions - Australia
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...The AppDomain shut down because of the hosting environment.The AppDomain shut down because of the hosting environment.


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