c# - Application_End fires after Application_Start in global.asax when restarting -
we've noticed application_end old app domain can fire long after application_start new app domain when restarting website.. we've seen delays of 45 seconds plus..
i'm guessing asp.net prioritizes compilation , starting of new app domain before unloading old app domain..?
i found this: http://msdn.microsoft.com/en-us/library/ms178473(v=vs.100).aspx
but can't find info delay between old , new app domains.. can shed light on this..?
is configurable..?
i did not found configure delay, there option disallow new worker process start before old 1 exits.
in iis manger go "application pool", select application pool application part of. select "advanced settings" in context menu. set option "disable overlapped recycle" "true".
Comments
Post a Comment