when a user see a U7 website for the first time or is the first visitor after a bit of time, the response is not fast. I think that the pages or similar are not in cache or the worker process is not always alive or warm up.
I know that under IIS8 there is the new autostart feature to solve the problem.
Is't better to suspend the worker process after idle time or to use the "alwayrunning" start mode?
IIS will unload a site after it has been idle for a while. You can configure that to be a large amount of time for that idle threshold. Cheap hosts like GoDaddy have a small threshold (e.g., 20 minutes) and don't allow you to configure it.
IIS will also periodically recycle the app pool (I think it defaults to 29 hours). You can configure whatever you want for that recycle duration. I recommend keeping that, as it can help with memory leaks and such.
You can use IIS application initialization if you want a few of the pages in your site to be visited each time the application pool recycles. That will ensure the templates used by those pages are compiled.
What exact version of Umbraco are you thinking about? I think that there was some issues regarding slow startup fixed in the releases of v7.3.5 and 7.3.6 - Maybe it's those that you're experiencing currently?
I use Umbraco 7.3.3 and some on 6.2.x
I use our dedicated servers. I made some changes i IIS8 on Win2012R2 and the situation is better.
Changes made in IIS:
- In the advanced config of website : preload = true
- In app pool: Alwaystartup, idle time = 0, recycling time at 5AM of every days
Are there some caching methods for ImageResize?
I think that I need to use CachePartial in some situation too.
An easy way to keep sites alive could be to use an uptime monitoring service like AreMySitesUp or Pingdom or something else.
Otherwise, if your site doesn't get regular traffic IIS will unload it (essentially put it to sleep) and the AppPool needs to be restarted for the first person loading it.
Changes made in IIS: - In the advanced config of website : preload = true - In app pool: Alwaystartup, idle time = 0, recycling time at 5AM of every days
Is there a on premise service like AreMySitesUp / Pingdom / etc?
Umbraco website low startup performance
Hi,
when a user see a U7 website for the first time or is the first visitor after a bit of time, the response is not fast. I think that the pages or similar are not in cache or the worker process is not always alive or warm up.
I know that under IIS8 there is the new autostart feature to solve the problem.
Is't better to suspend the worker process after idle time or to use the "alwayrunning" start mode?
IIS will unload a site after it has been idle for a while. You can configure that to be a large amount of time for that idle threshold. Cheap hosts like GoDaddy have a small threshold (e.g., 20 minutes) and don't allow you to configure it.
IIS will also periodically recycle the app pool (I think it defaults to 29 hours). You can configure whatever you want for that recycle duration. I recommend keeping that, as it can help with memory leaks and such.
You can use IIS application initialization if you want a few of the pages in your site to be visited each time the application pool recycles. That will ensure the templates used by those pages are compiled.
Hi Biagio
What exact version of Umbraco are you thinking about? I think that there was some issues regarding slow startup fixed in the releases of v7.3.5 and 7.3.6 - Maybe it's those that you're experiencing currently?
This one was fixed in 7.3.6 http://issues.umbraco.org/issue/U4-7810 and this one was fixed in 7.3.5 http://issues.umbraco.org/issue/U4-7643
Also there has just been a new release since there was unfortunately another performance issue in 7.3.6 so 7.3.7 has just been released.
Hope this helps.
/Jan
Hi,
I use Umbraco 7.3.3 and some on 6.2.x I use our dedicated servers. I made some changes i IIS8 on Win2012R2 and the situation is better.
Changes made in IIS: - In the advanced config of website : preload = true - In app pool: Alwaystartup, idle time = 0, recycling time at 5AM of every days
Are there some caching methods for ImageResize? I think that I need to use CachePartial in some situation too.
Some sites are: http://www.ospitalitasolidalenapoli.it/ http://www.fondosanitario.com/ http://www.econewsweb.it/ http://www.fitavcampania.it/ http://www3.naddeogroup.it/
An easy way to keep sites alive could be to use an uptime monitoring service like AreMySitesUp or Pingdom or something else.
Otherwise, if your site doesn't get regular traffic IIS will unload it (essentially put it to sleep) and the AppPool needs to be restarted for the first person loading it.
I tried this:
Changes made in IIS: - In the advanced config of website : preload = true - In app pool: Alwaystartup, idle time = 0, recycling time at 5AM of every days
Is there a on premise service like AreMySitesUp / Pingdom / etc?
I built this utility for myself: http://www.trayalive.com/
It basically fetches a list of pages periodically. It runs in your system tray.
Thanks for sharing that Nicholas!
-J
http://madskristensen.net/post/website-monitoring-tool
is working on a reply...