.net - Sitefinity warmup module not starting after schedule app pool restart -
i've enabled sitefinity warmup module start when iis app pool recycles. when manually recycle app pool warmup module starts , warms pages properly.
when app pool restarts @ it's scheduled 3am time, warmup module not run.
anyone run this? suggestions?
application initialization - iis 8.5 built-in, can either configure forcing individual applications reinitialize after application pool recycle/server restart, or configure applications reinitialize after soft reset (edits in web.config, etc). in order set application warm-up after recycle, need edit %windir%\system32\inetsrv\config\applicationhost.config file , locate block. edit settings of application you’d automatically initialize after restart this:
<add name="myapplicationpoolname" autostart="true" startmode="alwaysrunning" managedruntimeversion="v4.0">
next, under block, configure serverautostart property of website this:
<site name="mysitename" id="#" serverautostart="true"> <application path="/" preloadenabled="true" applicationpool=" myapplicationpoolname ">
this way, if recycle application pool on regular intervals or @ specific date/time, initialize automatically afterwards , initial load time normal first user hits website afterwards.
for more information:
Comments
Post a Comment