Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Feb 02, 2016 @ 19:59
    Biagio Paruolo
    0

    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?

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Feb 02, 2016 @ 20:35
    Nicholas Westby
    0

    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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 02, 2016 @ 20:37
    Jan Skovgaard
    0

    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

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Feb 03, 2016 @ 07:00
    Biagio Paruolo
    0

    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/

  • Jason Prothero 422 posts 1243 karma points MVP c-trib
    Feb 02, 2016 @ 22:35
    Jason Prothero
    1

    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.

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Feb 08, 2016 @ 11:38
    Biagio Paruolo
    0

    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?

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Feb 08, 2016 @ 16:27
    Nicholas Westby
    0

    I built this utility for myself: http://www.trayalive.com/

    It basically fetches a list of pages periodically. It runs in your system tray.

  • Jason Prothero 422 posts 1243 karma points MVP c-trib
    Feb 08, 2016 @ 16:32
    Jason Prothero
    0

    Thanks for sharing that Nicholas!

    -J

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Feb 08, 2016 @ 21:41
Please Sign in or register to post replies

Write your reply to:

Draft