Copied to clipboard

Flag this post as spam?

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


  • Richard Ikegbulam 2 posts 74 karma points notactivated
    Jun 22, 2016 @ 12:20
    Richard Ikegbulam
    0

    failed to enter the lock within timeout

    Anyone still having this issue? I am running v7.4.1 and I am still getting this error approximately every 30mins on a live site.

    Follwing actions has been taken to resolve this:

    • Enabled 32 bit on IIS: reduce memory usage, when using the default (64bit) memory usage was so high, btw 2 to 3.5 gig
    • Removed backend examine
    • Disabled overlap recycle to true: This ensures the old worker process is removed before creating a new one.

    I am running out of ideas now, considering that I am running v7.4.1 that this issue may have been fixed.

    Any help/suggestion will be much appreciated.

    _shutDownMessage=Initialization Error HostingEnvironment initiated shutdown HostingEnvironment caused shutdown

    shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.getStackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand() at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace) at System.Web.HttpRuntime.AppDomainShutdownTimerCallback(Object state) at System.Threading.TimerQueueTimer.CallCallbackInContext(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.TimerQueueTimer.CallCallback() at System.Threading.TimerQueueTimer.Fire() at System.Threading.TimerQueue.FireNextTimers() at System.Threading.TimerQueue.AppDomainTimerCallback() 2016-06-21 08:16:51,692 [P34084/D11/T6] INFO umbraco.content - Save Xml to file... 2016-06-21 08:16:51,817 [P34084/D11/T13] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:16:51,942 [P34084/D14/T1] INFO Umbraco.Core.CoreBootManager - Umbraco 7.4.1 application starting on APSEP8277 2016-06-21 08:16:51,942 [P34084/D14/T1] INFO Umbraco.Core.PluginManager - Determining hash of code files on disk 2016-06-21 08:16:51,958 [P34084/D14/T1] INFO Umbraco.Core.PluginManager - Hash determined (took 7ms) 2016-06-21 08:17:26,411 [P34084/D11/T34] INFO umbraco.content - Save Xml to file... 2016-06-21 08:17:26,568 [P34084/D11/T52] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:17:58,584 [P34084/D11/T54] INFO umbraco.content - Save Xml to file... 2016-06-21 08:17:58,662 [P34084/D11/T44] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:18:21,991 [P34084/D14/T1] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at Umbraco.Core.MainDom.Acquire() at Umbraco.Core.ApplicationContext.Init() at Umbraco.Core.ApplicationContext..ctor(DatabaseContext dbContext, ServiceContext serviceContext, CacheHelper cache, ProfilingLogger logger) at Umbraco.Core.CoreBootManager.CreateApplicationContext(DatabaseContext dbContext, ServiceContext serviceContext) at Umbraco.Core.CoreBootManager.Initialize() at Umbraco.Web.WebBootManager.Initialize() at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) at Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) 2016-06-21 08:18:32,022 [P34084/D11/T72] INFO umbraco.content - Save Xml to file... 2016-06-21 08:18:32,100 [P34084/D11/T37] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:18:43,210 [P34084/D15/T78] INFO Umbraco.Core.CoreBootManager - Umbraco 7.4.1 application starting on APSEP8277 2016-06-21 08:18:43,226 [P34084/D15/T78] INFO Umbraco.Core.PluginManager - Determining hash of code files on disk 2016-06-21 08:18:43,226 [P34084/D15/T78] INFO Umbraco.Core.PluginManager - Hash determined (took 5ms) 2016-06-21 08:19:02,054 [P34084/D14/T72] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: InitializationError

  • Renan Franca 13 posts 84 karma points
    Feb 07, 2017 @ 13:47
    Renan Franca
    0

    I have the same problem! Did you have any success? My Umbraco version is 7.5.6

  • Renan Franca 13 posts 84 karma points
    Feb 07, 2017 @ 14:45
    Renan Franca
    1

    Good Morning! I just tested a solution that worked for me! The important thing is after you stop at the site, make sure the IIS pool has been completely terminated.

    Follow the link: https://our.umbraco.org/forum/using-umbraco-and-getting-started/79356-failed-to-enter-the-lock-within-timeout-getting-this-error-sometimes-after-upgrading-umbraco-version-743#comment-265256

Please Sign in or register to post replies

Write your reply to:

Draft