Copied to clipboard

Flag this post as spam?

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

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 18, 2016 @ 09:12
    Sören Deger

    Server error: Failed to enter the lock within timeout

    Hi all,

    we have big trouble with a new developed website on umbraco v7.5.3 since a few days.

    We have the following errors at irregular times in trace log:

         2016-10-17 16:48:44,820 [P1160/D2/T1]  INFO  Umbraco.Core.PluginManager - Determining hash of code files on disk
         2016-10-17 16:48:44,883 [P1160/D2/T1] INFO  Umbraco.Core.PluginManager - Hash determined (took 64ms)
         2016-10-17 16:50:18,889 [P1160/D2/T1] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
        System.TimeoutException: Failed to enter the lock within timeout.
           bei Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout)
           bei Umbraco.Core.MainDom.Acquire()
           bei Umbraco.Core.ApplicationContext.Init()
           bei Umbraco.Core.ApplicationContext..ctor(DatabaseContext dbContext, ServiceContext serviceContext, CacheHelper cache, ProfilingLogger logger)
           bei Umbraco.Core.CoreBootManager.CreateApplicationContext(DatabaseContext dbContext, ServiceContext serviceContext)
           bei Umbraco.Core.CoreBootManager.Initialize()
           bei Umbraco.Web.WebBootManager.Initialize()
           bei Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)
           bei Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e)

    Every time this error occurs, the application pool crashed or the complete server goes down.

    Have anyone an idea why this error occurs?

    Cheers, Sören

  • Jason Vickers 21 posts 115 karma points
    Nov 03, 2016 @ 02:01
    Jason Vickers

    I ran into this yesterday. We had over 5k rows (on top of the rest of the 300+ pages) of data that I needed to import, which I eventually threw in a custom table using PetaPoco. Seems that Umbraco was dying during the building of the cache. Have you made any recent changes to the site?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Dec 19, 2016 @ 12:34
    Jeroen Breuer

    We're also running into this problem. Does anyone know if this is fixed in Umbraco 7.5.6?


  • Sören Deger 733 posts 2844 karma points c-trib
    Dec 19, 2016 @ 12:42
    Sören Deger

    Hi Jeroen,

    we have updated to 7.5.4 and it seems that it solve the issue.

  • Zac 239 posts 541 karma points
    Jan 09, 2017 @ 22:50

    We're encountering the same issue on 7.5.4

  • Jamie Attwood 201 posts 495 karma points c-trib
    Jan 10, 2017 @ 17:53
    Jamie Attwood

    We are also seeing this error at least once per week. When it does happen we need to completely restart IIS and it will usually fail multiple times before it comes back up again. It has been happening intermittently on 7.2.2 but even now more so since we upgraded to 7.5.4. This is a very large site BTW.



  • Daniel Bardi 927 posts 2562 karma points
    Sep 29, 2017 @ 01:31
    Daniel Bardi

    I got this error on a server and it was related to Examine Index files not able to delete because the path was to long..

Please Sign in or register to post replies

Write your reply to: