Copied to clipboard

Flag this post as spam?

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


  • yogesh pathak 136 posts 221 karma points
    Nov 12, 2015 @ 09:34
    yogesh pathak
    0

    Umbraco Website goes down after some time

    Hi All, My Umbraco web application is getting down automatically after some time , when i try to hit any page on that site it redirects me to the error page . when i checked the logs i got the following

    2015-10-26 02:05:00,275 [52] DEBUG umbraco.content - [Thread 47] Loading Xml... 2015-10-26 02:05:00,277 [52] INFO umbraco.content - [Thread 47] Load Xml from file... 2015-10-26 02:05:00,277 [52] DEBUG umbraco.content - [Thread 47] Acquiring exclusive access to file for this AppDomain... 2015-10-26 02:06:40,215 [57] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 11] An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at umbraco.content.EnsureFileLock() at umbraco.content.LoadXmlFromFile() at umbraco.content.LoadXmlLocked(SafeXmlReaderWriter safeXml, Boolean& registerXmlChange) at umbraco.content..ctor() at umbraco.content.<.cctor>b14() at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue() at umbraco.content.getInstance() at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.b3(UmbracoContext context, Boolean preview) at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.HasContent(UmbracoContext umbracoContext, Boolean preview) at Umbraco.Web.PublishedCache.ContextualPublishedCache1.HasContent(Boolean preview) at Umbraco.Web.PublishedCache.ContextualPublishedCache.HasContent() at Umbraco.Web.UmbracoModule.EnsureUmbracoRoutablePage(UmbracoContext context, HttpContextBase httpContext) at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2015-10-26 02:06:40,470 [57] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner1[[Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 28] Shutting down, waiting for tasks to complete. 2015-10-26 02:06:40,485 [57] DEBUG Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister - [Thread 59] Run now (async). 2015-10-26 02:06:40,492 [57] INFO umbraco.content - [Thread 59] Save Xml to file... 2015-10-26 02:06:40,492 [57] DEBUG umbraco.content - [Thread 59] Acquiring exclusive access to file for this AppDomain... 2015-10-26 02:07:10,670 [57] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner1[[Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 28] Shutting down immediately. 2015-10-26 02:09:00,342 [52] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 47] An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at umbraco.content.EnsureFileLock() at umbraco.content.LoadXmlFromFile() at umbraco.content.LoadXmlLocked(SafeXmlReaderWriter safeXml, Boolean& registerXmlChange) at umbraco.content..ctor() at umbraco.content.<.cctor>b14() at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue() at umbraco.content.getInstance() at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.3(UmbracoContext context, Boolean preview) at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.HasContent(UmbracoContext umbracoContext, Boolean preview) at Umbraco.Web.PublishedCache.ContextualPublishedCache1.HasContent(Boolean preview) at Umbraco.Web.PublishedCache.ContextualPublishedCache.HasContent() at Umbraco.Web.UmbracoModule.EnsureUmbracoRoutablePage(UmbracoContext context, HttpContextBase httpContext) at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2015-10-26 02:09:00,682 [52] DEBUG Umbraco.Web.UmbracoModule - [Thread 48] Begin request: http://srv19.myWebsite.com/favicon.ico. 2015-10-26 02:10:40,554 [57] ERROR Umbraco.Web.Scheduling.BackgroundTaskRunner1[[Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 59] Task has failed. System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at umbraco.content.EnsureFileLock() at umbraco.content.

    System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at umbraco.content.EnsureFileLock() at umbraco.content.LoadXmlFromFile() at umbraco.content.LoadXmlLocked(SafeXmlReaderWriter safeXml, Boolean& registerXmlChange) at umbraco.content..ctor() at umbraco.content.<.cctor>b14() at System.Lazy1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at umbraco.content.getInstance() at umbraco.NodeFactory.Node..ctor(Int32 NodeId) at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.UrlTrackerDo(String callingEventName, Boolean ignoreHttpStatusCode) in d:\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 169 at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2015-10-26 01:54:55,471 [7] INFO Umbraco.Web.Scheduling.BackgroundTaskRunner1[[Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 10] Shutting down immediately. 2015-10-26 01:56:17,301 [8] DEBUG Umbraco.Web.UmbracoModule - [Thread 23] Begin request: http://srv19.MyWebsite.com/. 2015-10-26 01:56:17,301 [8] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 23] An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at umbraco.content.EnsureFileLock() at umbraco.content.LoadXmlFromFile() at umbraco.content.LoadXmlLocked(SafeXmlReaderWriter safeXml, Boolean& registerXmlChange) at umbraco.content..ctor() at umbraco.content.<.cctor>b14() at System.Lazy1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at umbraco.content.getInstance() at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.

    IISRESET command worked for resolving this but after one day i came accross this situation again, please suggest a permanent solution for this

    Yogesh

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Nov 12, 2015 @ 14:04
    Dennis Aaen
    0

    Hi Yogesh,

    Are you running your websites, and a Windows Server 2012 R2 + IIS then it sounds to me, that you could have hit into to this issue http://issues.umbraco.org/issue/U4-6338.

    Hope this helps,

    /Dennis

  • yogesh pathak 136 posts 221 karma points
    Nov 12, 2015 @ 15:20
    yogesh pathak
    0

    Hi Dennis , my infrastructure is on window 2008 R2 server , and according to Loged issue about High IO Operations to it seems to me that Moving my infrastructure to latest window 2012 R2 server may help right?

    Yogesh

  • yogesh pathak 136 posts 221 karma points
    Nov 12, 2015 @ 16:03
    yogesh pathak
    0

    i didn't see any ConfigurationChange log in my log file , what i got is posted bellow

    2015-11-11 04:14:57,066 [10] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 47] An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at umbraco.content.EnsureFileLock() at umbraco.content.LoadXmlFromFile() at umbraco.content.LoadXmlLocked(SafeXmlReaderWriter safeXml, Boolean& registerXmlChange) at umbraco.content..ctor() at umbraco.content.<.cctor>b__14() at System.Lazy1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy1.LazyInitValue() at umbraco.content.get_Instance() at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__3(UmbracoContext context, Boolean preview) at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.HasContent(UmbracoContext umbracoContext, Boolean preview) at Umbraco.Web.PublishedCache.ContextualPublishedCache1.HasContent(Boolean preview) at Umbraco.Web.PublishedCache.ContextualPublishedCache.HasContent() at Umbraco.Web.UmbracoModule.EnsureUmbracoRoutablePage(UmbracoContext context, HttpContextBase httpContext) at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2015-11-11 04:14:57,066 [10] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 42] An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at umbraco.content.EnsureFileLock() at umbraco.content.LoadXmlFromFile() at umbraco.content.LoadXmlLocked(SafeXmlReaderWriter safeXml, Boolean& registerXmlChange) at umbraco.content..ctor() at umbraco.content.<.cctor>b14() at System.Lazy1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy1.LazyInitValue() at umbraco.content.get_Instance() at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.3(UmbracoContext context, Boolean preview) at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.HasContent(UmbracoContext umbracoContext, Boolean preview) at Umbraco.Web.PublishedCache.ContextualPublishedCache1.HasContent(Boolean preview) at Umbraco.Web.PublishedCache.ContextualPublishedCache.HasContent() at Umbraco.Web.UmbracoModule.EnsureUmbracoRoutablePage(UmbracoContext context, HttpContextBase httpContext) at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2015-11-11 04:14:57,066 [10] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 53] An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at umbraco.content.EnsureFileLock() at umbraco.content.LoadXmlFromFile()

    Yogesh

  • John Mullan 8 posts 28 karma points
    Mar 30, 2016 @ 12:32
    John Mullan
    0

    Hi Yogesh,

    Did you ever resolve this error?

    I'm receiving the same error on 7.2.8 using a load balanced setup over a network share.

  • yogesh pathak 136 posts 221 karma points
    May 06, 2016 @ 09:36
    yogesh pathak
    0

    Hey john, sorry for replying late, i have moved my production environment to window 2012 servers from window 2008 servers and never faced this issue since then. if you can not change the servers do one thing make the backoffice node down in load balancer. so that for end users your site can run smooth,this is workaround only though

Please Sign in or register to post replies

Write your reply to:

Draft