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..."Service Unavailable" on DNN installation (04.09.05)"Service Unavailable" on DNN installation (04.09.05)
Previous
 
Next
New Post
6/1/2010 12:56 AM
 
I'm getting a critical error running DNN on a customer's installation that we've done.

At some point (not the same time of day or period between crashes), the site crashes fatally. When this happens, there are no errors written to the DNN Event Log or the Server Event Log. I do NOT get an "APPLICATION_SHUTDOWN" event!!

The site then tries to start itself up a further 4 times (crashing about 10 seconds after each start). With 5 crashes in a row in this short a time period, IIS eventually shuts down my AppPool, and I have to manually recycle the AppPool.

I have a number of modules that I have written that do various things, but I log everything within my own applications and I'm not getting anything ugly show up in the logs. Also, I've got the same codebase in about 4 other installations, most bigger than this one, and I don't get any crashes at all.

I've also taken an exact copy of the site (files and DB) and set it up on a TEST server in my office, and run a serious stress test against it, and DNN happily responded to everything I threw at it (as I expected it to).

So.. with everything that I've done, I'm stuck... Does anyone have any suggestions as to what to look for, where to start digging... what else I can possibly look for???

The technical details of the installation are:
- DNN 04.09.05
- SQL 2005
- IIS6 on Server 2003
- Partial Trust (Hosted at WebCentral)

Regards,
Grant
 
New Post
6/1/2010 9:23 AM
 
You seem to indicate that the app is able to run fine for a period of time, then dies for some random reason. If the app is able to run fine, then we can assume the config is good.

"The site then tries to start itself up a further 4 times (crashing about 10 seconds after each start). With 5 crashes in a row in this short a time period, IIS eventually shuts down my AppPool, and I have to manually recycle the AppPool."

- How do you know it crashes 4 times? What happens during this period? Error screen? Site not responding?
- After you manually recycle the application, does the application run fine?
- Are the other similar installations hosted with the same provider / setup?

You can try to check the IIS logs to see what requests are coming in before the site crashes, to see if there is a problematic page / request causing the crash.
 
New Post
6/1/2010 6:14 PM
 
The app runs fine. Sometimes it crashes in 2 days, sometimes 2 weeks. While it is running I have absolutley NO problem with it. It runs fast, no errors etc...

Answers to your questions:
1) I know it crashes because in the DNN event log I get 5 "APPLICATION_STARTED" events in a row (usually about 10 seconds between each other). I don't actaully know what the user experience is as I've never "seen" the crash. I have trawled the IIS logs and I can see that pages are geting hit. I've written a page logging module (httpmodule) which effectively logs on BeginRequest and EndRequest. I did this is see if it was 1 specific page that was causing the crash.

2) When I get the AppPool restarted, it runs fine for a while then I get the crash again (can run for 2 days to 2 weeks)

3) Some are , some aren't. This is the only installation I have in Partial Trust, but I've developed for Partial Trust environments before with no problems (I have another app that has about 5 instances in Partial Trust on the same hosting provider).

Thanks for the thought, but anything else you can think of???

Regards,
Grant
 
New Post
6/1/2010 7:34 PM
 
Well...

I assume you are using shared hosting with no access to the server. Does your website run in a dedicated application pool? If not, it might be another website hosted in the same apppool that is crashing the pool and taking your site with it.

You might try activating health monitoring traces in your web.config to try and get more information (such as activating the ALL ERRORS and dumping to a file). Not sure Medium Trust will allow you to do this though.

When you locally stress test the application, make sure to have the exact same setup as your hosting provider. It might help to know exactly what settings are applied on your application pool with your hosting provider (such as recycling rules, process orphaning, web garden, etc.) and reproduce the same settings locally.

I find it strange that the application pool won't start back by itself, especially on a medium trust setup... This should be addressed / investigated by your provider in my opinion...
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and..."Service Unavailable" on DNN installation (04.09.05)"Service Unavailable" on DNN installation (04.09.05)


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