Skip to content
June 21, 2011 / kiranpatils

Basics of KeepAlive


If your Sitecore is restarting periodically? and if you see following log entry in your log file

“HostingEnvironment initiated shutdown”
All your cache is being flushed?
If your Sitecore instance sits idle and your cache gets flushed automatically as your Sitecore instance
got restarted?

Then probably this post is for you!


We were also struggling to solve above issues. And the pattern what we observed is that — If We keep system idle it restarts itself. This lead us to following solution:


Basically the URL pointed in above configuration was wrong, we changed it and it started working fine!

You must be curious to know what it does?

The Sitecore keep alive agent, required to prevent a restart of the Sitecore web application during long periods of inactivity

In short this agent requests provided URL in one hour interval.  which will keep your worker process alive! [Updated – thanks to Sudeep]

Simple right? But very effective!

Long live worker process! 🙂



Leave a Comment
  1. Sudeep / Jul 15 2011 5:25 am

    “In short this agent requests provided URL in one minute interval.”

    Just correcting one small mistake, it’s one hour, not one minute

    • kiranpatils / Jul 15 2011 6:18 am

      Thanks Suddep!

      Keep visiting!

  2. Pankaj / Sep 6 2011 8:07 pm

    Thanks mate.
    I’m sure this will solve my problem.


  1. Does your CD servers crash? « Sitecore basics!
  2. Sitecore Troubleshooting Path | Sitecore basics!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: