Keep Alive

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi all, I presume the 'Keep Alive' scheduled task is supposed to keep the application/app pool from falling asleep? If so ours doesn't appear to be working. It is set to 300 seconds, enabled, but each morning trying to hit the site it takes several minutes to load the first time.

Any suggestions? Thanks in advance...
6 years ago
tbell1979 wrote:
Hi all, I presume the 'Keep Alive' scheduled task is supposed to keep the application/app pool from falling asleep? If so ours doesn't appear to be working. It is set to 300 seconds, enabled, but each morning trying to hit the site it takes several minutes to load the first time.

Any suggestions? Thanks in advance...


Please check ==>https://www.nopcommerce.com/boards/t/19250/error-keep-alive-schedule-task.aspx#78645


// Sohel
6 years ago
Thanks, but I don't believe this is my problem...not getting any errors. It's just that the site falls asleep after a relatively short time of inactivity...then the first user who tries to load it must wait a minute or so...
6 years ago
Do you see many "Application started." messages in the System > Log?


Try hitting your site with the URL that the keepalive uses:

yoursite.com/keepalive/index

The returned page will be blank, but it should keep the app running.  Wait for the default 20 minutes of inactivity before trying it.

If you have access to the IIS log, you can also see if the /keepalive/index page is being referenced every 300 secs.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.