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 Sites Constantly Go Down!DNN Sites Constantly Go Down!
Previous
 
Next
New Post
5/28/2008 11:48 AM
 
We are hosting DNN sites with a particular hosting company and we notice our sites are constantly going down.
 
The hosting company comes back and tells him the reason DNN sites go down are because they take longer to wake up, if you ping them they will crash, the database becomes too large as it logs virtually everything, the skin is causing the site to go down etc etc.
 
As much as we have tried to modify the DNN site so it meets the standards of the hosting company (decreased the log files, stopped the pings etc) these sites still randomly go down.
 
We are using Periscope IT to monitor the site.
 

I did not know how to attach a file here so I have uploaded it to a temp domain at:

http://raggsnriches.com/errors.zip

 
Can you please provide your expertise how we can get around this problem?
 
Is this a bug in DNN or do you have any suggestions for the hosting company on how to maintain these sites.
 
 

Thanks,

 

Baltej Gill

 
New Post
5/28/2008 1:09 PM
 

Based on the errors the IIS service is stopping responding.  This can be due to memory limits being reached, or the need to modify some configuration options to reduce the load/overhead.

You will want to ensure that your caching has been enabled properly, that your event log and site logs are not full, and I would also validate that you do not have your Search Indexer running to frequently.

Do you know if there are any routine errors with your Event Log?

If you want, feel free to drop me an e-mail directly at msellers@iowacomputergurus.com and we can talk about some options as well.  (Since I don't get forum notifications here I don't always catch replies)


-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
5/28/2008 1:49 PM
 

Who are you hosting with? For instance if you are with a cheap hosting provider like 1&1 you might as well just bolt out of it. NB I use re-invent.com, pretty good so far. Mitch's I'm sure is a good recommendation as well.



Alex Shirley


 
New Post
5/28/2008 2:45 PM
 

Hosting environment can certainly affect performance and stability, however DNN itself can introduce a lot of variables especially when third party modules are introduced in to the mix. People often confuse DNN with a typical html webpage, which is a wrong assumption although on the surface it may appear as such. DNN is a complex dynamic data driven application that is executed on the server, it needs to be maintained in order to perform well. Also, when you design your pages try to minimize the use of modules. Every little “do-hicky” you add to your pages adds the number of database queries per view, increases the cache memory requirement, bloats the HTML output size, and increases the browser render time. On top of it all, the database itself requires regular index rebuilds in order for SQL database queries to execute within reasonable amount of time.

 

Some of the things like SQL database re-indexing and query plan optimization your hosting provider can do for you. For example we have an automated table re-indexing and query plan recalculation that occurs weekly on all customer databases, this is just a good housekeeping since it helps our database servers to chug along much better and helps our customers. Besides that, regular EventLog and SiteLog table truncation is a must, these tables tend to grow fast and fragment the database file groups.

 

Here is what you can do on your end if you are hosted in shared hosting environment:

 

Page state persistence: Page (this will help to reduce work process memory consumption)

Module caching method: Disk (Work process memory is a premium resource on the shared hosting servers)

Performance setting: Heavy caching (This will reduce database IO = better performance)

Compression setting: No compression (Although the idea behind the HTML output compression is good, in reality the CPU overhead makes it slower than raw output)

 

To truncate logs from your database use this TSQL script:

USE
YOUR_DB_NAME --Replace "YOUR_DB_NAME" with the name of your database
GO

TRUNCATE TABLE SiteLog
GO

TRUNCATE TABLE EventLog
GO

 

Perhaps the #1 complaint we get from our users is; “My site takes up to 10 seconds to load”. I don’t care how many CPUs your server has and even if your domain is the only one hosted on the server, ASP.NET application such as DNN will take anywhere between 4 to 15 seconds to load if the work process has been dormant. I’m not going to discuss .NET JIT and other techno topics that cause this, but the best analogy as to why this happens can be found on your own desktop. For example, when you open any application such Microsoft Outlook for the first time, the computer has to load data from the hard disk in to the memory, then CPU starts to execute the byte code and application becomes active. Same thing happens on the server when you access DNN or any other ASP.NET site for the first time. The IIS server creates a work process, loads .NET framework, then your application, after that the actual application has to connect to the database server and load the data in to cache, then render it as HTML output that is sent over the internet to your browser. As you can see, even when simplified there may steps that have to happen just right in order for your DNN installation to work. Add a bit of ambient load on the server , poorly optimized DNN installation and buggy 3rd party modules and you have a mess on your hands.


Affordable DotNetNuke Hosting Affordable DNN Hosting & Support - www.ihostasp.net
Slavic Kozyuk
IHOST, LLC
Call toll-free: 1.800.593.0238
 
New Post
5/28/2008 8:30 PM
 

Agree with the above, but in my case I use maximum compression (in a shared hosting environment), and when I do that I make sure whitespace filter is disabled (there is absolutely no point at all in enabling whitespace with compression in my view).

I'm not saying Slavic is wrong (and I'm sure he's far more experienced than I am in these scenarios as he is a hoster), but this is the way it works for me in my situation. So I guess you work out what is best for you.



Alex Shirley


 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN Sites Constantly Go Down!DNN Sites Constantly Go Down!


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