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...Once and for all - letOnce and for all - let's find a keepalive solution that will actually keep alive.
Previous
 
Next
New Post
3/31/2007 10:47 PM
 

Keepalive that will actually keep alive - and will work on shared servers - and doesn't require some third-party reporting service.

If you're running a dedicated server, no problem... Just install SmarterPing on the server and have it hit keepalive.aspx every 18 minutes or so.  It causes practically no server strain because it's just 80 additional tiny requests per site a day.

Shared users, however, have no good solutions, it seems - and it boggles my mind.  Why not?  Why isn't there an ASP.NET utility that does this?

Someone... Anyone... Offer something.  Please.

 
New Post
4/1/2007 12:06 PM
 

The reason is because to run a keep-alive service within the same application process is contradictory to the way the ASP.Net framework is architected.

Let me know if you want the technical details, but the bottom line is that an asp.net application that tries to keep itself alive is like a person performing surgery on himself.

Your best solution is to use a third-party monitor in the case of the former, or a doctor in the case of the later.

Be aware though, that if you are on a shared host then there are other villians that are fighting for the memory your application is using and the one in control of the server has a lot of power to reclaim it.

BTW, I have my own dedicated servers, but I use an outside service to monitor the apps because it's also nice to know if the application has stopped responding to the outside world.


DotNetNuke Modules from Snapsis.com
 
New Post
4/1/2007 1:48 PM
 
John is 100% correct. I too have my own servers, but still use an outside service. If a server pinging itself goes in to deadlock or worse, goes down, SmartPing is of no value. Having a service (many are free), will send an SMS or email for notification...something a dead server cannot do.

Also, as John stated, on a shared host the .NET worker assigned to your site [in most cases] runs at a very low priority, meaning it relinquishes it's memory and CPU time to the higher priority application.

HTH


 
New Post
4/1/2007 2:31 PM
 

So basically, ASP.NET was just born to lag.  I thought it was supposed to be "precompiled" and whatnot, so much faster than PHP.  I don't understand.  My company's site doesn't have many visitors, and it will never get any because people don't get past the initial lag.  Sure, it's fine when it's up and running but who will wait that long.

I don't understand why Microsoft even made a platform like this.  You'd think with today's server technology the stuff would load up really fast.  But I hear that even running one DNN site on a high end dedicated server doesn't get rid of this lag.  I'm done with ASP.NET.

 
New Post
4/1/2007 3:59 PM
 

The word ping shouldnt be used here..   as what ping really is will not keep anything alive..   but simply monitor the domain/ip resolution and 'website' availability.

If you want your website alive...  just setup a windows scheduled task (on any computer) and have it call the default.aspx page every 18 minutes.

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Once and for all - letOnce and for all - let's find a keepalive solution that will actually keep alive.


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