Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
On web apps occasionally it ends up in a state where I get lots of these errors in my logs:
Umbraco.Core.Sync.DatabaseServerMessenger Error - DISTRIBUTED CACHE IS NOT UPDATED. Failed to execute instructions (id: 103959, instruction count: 157). Instruction is being skipped/ignored
The thread has been aborted, because the request has timed out.
System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Monitor.ObjWait(Boolean exitContext, Int32 millisecondsTimeout, Object obj)
at System.Threading.Monitor.Wait(Object obj, Int32 millisecondsTimeout, Boolean exitContext)
at System.Threading.SemaphoreSlim.WaitUntilCountOrTimeout(Int32 millisecondsTimeout, UInt32 startTime, CancellationToken cancellationToken)
at System.Threading.SemaphoreSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at umbraco.SafeXmlReaderWriter.Get(IScopeProviderInternal scopeProvider, AsyncLock xmlLock, XmlDocument xml, Action`1 refresh, Action`2 apply, Boolean writer)
at umbraco.content.UpdateDocumentCache(Document d)
at umbraco.content.UpdateDocumentCache(Int32 pageId)
at Umbraco.Web.Cache.PageCacheRefresher.Refresh(Int32 id)
at Umbraco.Core.Sync.DatabaseServerMessenger.RefreshByIds(Guid uniqueIdentifier, String jsonIds)
at Umbraco.Core.Sync.DatabaseServerMessenger.NotifyRefreshers(IEnumerable`1 instructions, HashSet`1 processed)
at Umbraco.Core.Sync.DatabaseServerMessenger.ProcessDatabaseInstructions(IReadOnlyCollection`1 instructionBatch, CacheInstructionDto dto, HashSet`1 processed, Int32& lastId)
This prevents any content from being published and causes lots of problems.
Once it gets in this state it's pretty much stuck for good. I'm following all of the recommended configuration for Flexible Load Balancing. So the umbraco.config is written to environment temp storage and the Examine indexes are doing the same. The master environment is on a single web app instance while the front end site is on multiple web app instances. The web.config contains this:
<add key="umbracoContentXMLStorage" value="EnvironmentTemp" />
The only way I can get out of this is do a fresh deployment to an empty staging slot and swap them over once it has spun up.
Anyone have any ideas how to prevent this?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted