Frequent recompilations and application restarts on Azure VM/IIS 10
I am experiencing very frequent recompilations of my Umbraco application which is hosted on an Azure VM Windows Server 2016 with IIS 10. This seems to happen when something is saved/published in the backoffice. Particularly, it always happens when saving a document type. In the log I see this:
_shutDownMessage=Recompilation limit of 50 reached
HostingEnvironment initiated shutdown
HostingEnvironment caused shutdown
_shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()
at System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand()
at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace)
at System.Web.Compilation.DiskBuildResultCache.ShutdownCallBack(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
2018-05-02 09:43:06,003 [P22248/D8/T133] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:43:06,003 [P22248/D8/T133] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:43:06,003 [P22248/D8/T133] INFO Umbraco.Core.PluginManager - Resolving [Umbraco.Core.Persistence.Mappers.MapperForAttribute]Umbraco.Core.Persistence.Mappers.BaseMapper
2018-05-02 09:43:06,003 [P22248/D8/T133] INFO Umbraco.Core.PluginManager - Resolved [Umbraco.Core.Persistence.Mappers.MapperForAttribute]Umbraco.Core.Persistence.Mappers.BaseMapper (took 0ms)
2018-05-02 09:43:06,034 [P22248/D8/T73] INFO umbraco.BusinessLogic.Log - Log scrubbed. Removed all items older than 2018-05-01 09:43:06
2018-05-02 09:48:47,689 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledTasks] Terminating
2018-05-02 09:48:47,689 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledTasks] Waiting for tasks to complete
2018-05-02 09:48:47,689 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [HealthCheckNotifier] Terminating
2018-05-02 09:48:47,689 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [HealthCheckNotifier] Waiting for tasks to complete
2018-05-02 09:48:47,689 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [HealthCheckNotifier] Tasks completed, terminated
2018-05-02 09:48:47,705 [P22248/D8/T34] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledTasks] Tasks completed, terminated
2018-05-02 09:48:47,705 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [LogScrubber] Terminating
2018-05-02 09:48:47,705 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [LogScrubber] Waiting for tasks to complete
2018-05-02 09:48:47,705 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [KeepAlive] Terminating
2018-05-02 09:48:47,705 [P22248/D8/T145] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [LogScrubber] Tasks completed, terminated
2018-05-02 09:48:47,705 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [KeepAlive] Waiting for tasks to complete
2018-05-02 09:48:47,705 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [Umbraco.Web.Scheduling.IBackgroundTask] Terminating
2018-05-02 09:48:47,705 [P22248/D8/T52] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [KeepAlive] Tasks completed, terminated
2018-05-02 09:48:47,705 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [Umbraco.Web.Scheduling.IBackgroundTask] Waiting for tasks to complete
2018-05-02 09:48:47,705 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledPublishing] Terminating
2018-05-02 09:48:47,705 [P22248/D8/T140] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledPublishing] Waiting for tasks to complete
2018-05-02 09:48:47,705 [P22248/D8/T34] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [Umbraco.Web.Scheduling.IBackgroundTask] Tasks completed, terminated
2018-05-02 09:48:47,705 [P22248/D8/T126] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledPublishing] Tasks completed, terminated
2018-05-02 09:48:47,720 [P22248/D8/T140] INFO Umbraco.Core.MainDom - Stopping...
2018-05-02 09:48:47,720 [P22248/D8/T140] INFO Umbraco.Core.MainDom - Released MainDom.
2018-05-02 09:49:01,893 [P22248/D9/T53] INFO Umbraco.Core.CoreBootManager - Umbraco 7.7.7 application starting on pixeditwebserv2
2018-05-02 09:49:01,908 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Determining hash of code files on disk
2018-05-02 09:49:01,924 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Hash determined (took 11ms)
2018-05-02 09:49:01,955 [P22248/D9/T53] INFO Umbraco.Core.MainDom - Acquiring MainDom...
2018-05-02 09:49:01,955 [P22248/D9/T53] INFO Umbraco.Core.MainDom - Acquired MainDom.
2018-05-02 09:49:01,955 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:02,018 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 56ms)
2018-05-02 09:49:02,018 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IApplicationStartupHandler
2018-05-02 09:49:02,018 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IApplicationStartupHandler (took 1ms)
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter (took 0ms)
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving Umbraco.Core.PropertyEditors.IPropertyValueConverter
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved Umbraco.Core.PropertyEditors.IPropertyValueConverter (took 2ms)
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:02,049 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:49:02,064 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving Umbraco.Web.Mvc.SurfaceController
2018-05-02 09:49:02,064 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved Umbraco.Web.Mvc.SurfaceController (took 0ms)
2018-05-02 09:49:02,064 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:02,064 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:49:02,064 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolving Umbraco.Web.WebApi.UmbracoApiController
2018-05-02 09:49:02,064 [P22248/D9/T53] INFO Umbraco.Core.PluginManager - Resolved Umbraco.Web.WebApi.UmbracoApiController (took 0ms)
2018-05-02 09:49:03,643 [P22248/D9/T53] INFO Umbraco.Core.DatabaseContext - CanConnect = True
2018-05-02 09:49:03,971 [P22248/D9/T53] INFO Umbraco.Web.Cache.CacheRefresherEventHandler - Initializing Umbraco internal event handlers for cache refreshing
2018-05-02 09:49:04,002 [P22248/D9/T53] INFO Umbraco.Web.Search.ExamineEvents - Initializing Examine and binding to business logic events
2018-05-02 09:49:04,002 [P22248/D9/T53] INFO Umbraco.Web.Search.ExamineEvents - Adding examine event handlers for index providers: 6
2018-05-02 09:49:04,002 [P22248/D9/T53] INFO Jumoo.uSync.BackOffice.uSyncApplicationEventHandler - Initializing uSync 73
2018-05-02 09:49:04,018 [P22248/D9/T53] INFO Jumoo.uSync.BackOffice.uSyncApplicationEventHandler - Firing up uSync
2018-05-02 09:49:04,315 [P22248/D9/T53] INFO Jumoo.uSync.Core.uSyncCoreContext - Loading Context (268ms)
2018-05-02 09:49:04,346 [P22248/D9/T53] INFO Jumoo.uSync.BackOffice.uSyncBackOfficeContext - Loading up Sync Handlers : 16
2018-05-02 09:49:04,346 [P22248/D9/T53] INFO Jumoo.uSync.BackOffice.uSyncAction - ### uSync.BackOffice Processed 0 items with 0 changes ###
2018-05-02 09:49:04,361 [P22248/D9/T53] INFO Jumoo.uSync.BackOffice.uSyncApplicationEventHandler - uSync Complete (341ms)
2018-05-02 09:49:04,377 [P22248/D9/T53] INFO Umbraco.Core.CoreBootManager - Umbraco application startup complete (took 2571ms)
2018-05-02 09:49:04,580 [P22248/D9/T131] INFO Umbraco.Core.Sync.ApplicationUrlHelper - ApplicationUrl: http://www.pixedit.com/umbraco (UmbracoModule request)
2018-05-02 09:49:04,955 [P22248/D9/T131] INFO umbraco.content - Load Xml from file...
2018-05-02 09:49:04,971 [P22248/D9/T131] INFO umbraco.content - Loaded Xml from file.
2018-05-02 09:49:05,690 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:05,690 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:49:05,690 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolving Umbraco.Core.PropertyEditors.IParameterEditor
2018-05-02 09:49:05,690 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolved Umbraco.Core.PropertyEditors.IParameterEditor (took 0ms)
2018-05-02 09:49:07,690 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:07,690 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:49:07,690 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolving Umbraco.Core.Deploy.IServiceConnector
2018-05-02 09:49:07,690 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolved Umbraco.Core.Deploy.IServiceConnector (took 0ms)
2018-05-02 09:49:13,456 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:13,456 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:49:13,456 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolving [Umbraco.Core.Persistence.Mappers.MapperForAttribute]Umbraco.Core.Persistence.Mappers.BaseMapper
2018-05-02 09:49:13,456 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolved [Umbraco.Core.Persistence.Mappers.MapperForAttribute]Umbraco.Core.Persistence.Mappers.BaseMapper (took 0ms)
2018-05-02 09:49:13,706 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
2018-05-02 09:49:13,706 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
2018-05-02 09:49:13,706 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolving umbraco.cms.businesslogic.macro.IMacroEngine
2018-05-02 09:49:13,706 [P22248/D9/T131] INFO Umbraco.Core.PluginManager - Resolved umbraco.cms.businesslogic.macro.IMacroEngine (took 0ms)
2018-05-02 09:49:17,768 [P22248/D8/T43] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: MaxRecompilationsReached
I have read other posts about this, but could not really make out what is really the problem with my site and setup. But from reading them, I have now the following items under "suspicion":
Umbraco.config (content cache) is in my App_Data directory, should it go somewhere else?
Examine indexes are also under App_Data, is this ok?
My physical SQL Server MDF is also under App_Data, is that maybe not such a good idea?
What about the fcnMode in httpRuntime in Web.config? I have tried fcnMode="single" (the default) and removing it, but it didn't seem to make a difference.
Does anyone have any experiences and insight to share on this?
Frequent recompilations and application restarts on Azure VM/IIS 10
I am experiencing very frequent recompilations of my Umbraco application which is hosted on an Azure VM Windows Server 2016 with IIS 10. This seems to happen when something is saved/published in the backoffice. Particularly, it always happens when saving a document type. In the log I see this:
I have read other posts about this, but could not really make out what is really the problem with my site and setup. But from reading them, I have now the following items under "suspicion":
Does anyone have any experiences and insight to share on this?
Hello, I'm facing the same issue.
I'm currently Using Umbraco 7.6.3 with Azure and load balancing. Any changes about this?
Regards,
Arlan
Check what value in Maximum Working Process is 1
is working on a reply...