Thanks for your post. Is there a document available for further information about WEBSITE_DISABLE_OVERLAPPED_RECYCLING? I would like to find out how this helps before I deploy such change to my production site.
@jeavon yep been thinking of upgrading it since this installation was one of the very new v8 release's, hopefully can upgrade it straight to v8.6, so this new setting what is it about or is there some documentation around it.
The new setting is designed to get around the fact that Azure doesn't support Umbraco's default way of ensuring a main app domain lock.
If you're running in a multi-server environment make sure to only add this setting on your master (back office) server or you're in for a world of pain - it's fine on single server environments though.
@chris thanks for the details, i will have a read for this instance i should be ok as its purely a single server environment but good to know for future use, think definitely upgrading first though.
Boot failed: Umbraco cannot run. Nucache used by another process
I am hosted on azure and STILL getting this error even with the settings described here:
https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/azure-web-apps#recommended-configuration
specifically app settings:
The app does not scale out (more than one instance).. So i am confused and frustrated as to why this is still happening?
Here is the actual error:
Server Error in '/' Application. Boot failed: Umbraco cannot run. See Umbraco's log file for more details.
-> Umbraco.Core.Exceptions.BootFailedException: Boot failed.
-> System.IO.IOException: The process cannot access the file 'D:\local\Temp\UmbracoData\c5e194110ba468ba2305ef3ad38d9528\NuCache\NuCache.Content.db' because it is being used by another process. at System.IO._Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITYATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at CSharpTest.Net.IO.TransactedCompoundFile..ctor(Options options) at CSharpTest.Net.Storage.BTreeFileStoreV2..ctor(Options options) at CSharpTest.Net.Collections.BPlusTree
2.OptionsV2.CreateStorage() at CSharpTest.Net.Collections.BPlusTree
2.NodeCacheBase..ctor(BPlusTreeOptions2 options) at CSharpTest.Net.Collections.BPlusTree
2.NodeCacheNone..ctor(BPlusTreeOptions2 options) at CSharpTest.Net.Collections.BPlusTree
2..ctor(BPlusTreeOptions`2 ioptions) at Umbraco.Web.PublishedCache.NuCache.DataSource.BTree.GetTree(String filepath, Boolean exists) in d:\a\1\s\src\Umbraco.Web\PublishedCache\NuCache\DataSource\BTree.cs:line 27 at Umbraco.Web.PublishedCache.NuCache.PublishedSnapshotService.MainDomRegister() in d:\a\1\s\src\Umbraco.Web\PublishedCache\NuCache\PublishedSnapshotService.cs:line 176 at Umbraco.Core.MainDom.Register(Action install, Action release, Int32 weight) in d:\a\1\s\src\Umbraco.Core\MainDom.cs:line 102 at Umbraco.Web.PublishedCache.NuCache.PublishedSnapshotService..ctor(PublishedSnapshotServiceOptions options, IMainDom mainDom, IRuntimeState runtime, ServiceContext serviceContext, IPublishedContentTypeFactory publishedContentTypeFactory, IdkMap idkMap, IPublishedSnapshotAccessor publishedSnapshotAccessor, IVariationContextAccessor variationContextAccessor, IProfilingLogger logger, IScopeProvider scopeProvider, IDocumentRepository documentRepository, IMediaRepository mediaRepository, IMemberRepository memberRepository, IDefaultCultureAccessor defaultCultureAccessor, IDataSource dataSource, IGlobalSettings globalSettings, IEntityXmlSerializer entitySerializer, IPublishedModelFactory publishedModelFactory, UrlSegmentProviderCollection urlSegmentProviders) in d:\a\1\s\src\Umbraco.Web\PublishedCache\NuCache\PublishedSnapshotService.cs:line 125 at DynamicMethod(Object[] )@Kris did you even find any solution for this, as i am also still getting this with those settings on the config for v8.0.2 :(
WEBSITE_DISABLE_OVERLAPPED_RECYCLING
must be set in the Azure Portal, not in web.config@jeavon Thanks that probably why it didnt seem to make a difference in my case moved it now to the azure setting.
Hi Jeavon,
Thanks for your post. Is there a document available for further information about
WEBSITE_DISABLE_OVERLAPPED_RECYCLING
? I would like to find out how this helps before I deploy such change to my production site.Your help is much appreciated.
Replying to myself, I traced this issue back to it was raised last year at GitHub issue for Umbraco
And
WEBSITE_DISABLE_OVERLAPPED_RECYCLING
came from this issue commentHope this can help anyone interested.
Also, it's highly recommended that you upgrade to v8.6 and use the
Umbraco.Core.MainDom.Lock
setting when running on Azure Web Apps@jeavon yep been thinking of upgrading it since this installation was one of the very new v8 release's, hopefully can upgrade it straight to v8.6, so this new setting what is it about or is there some documentation around it.
The new setting is designed to get around the fact that Azure doesn't support Umbraco's default way of ensuring a main app domain lock.
If you're running in a multi-server environment make sure to only add this setting on your master (back office) server or you're in for a world of pain - it's fine on single server environments though.
There's some documentation here: https://our.umbraco.com/documentation/getting-started/setup/server-setup/azure-web-apps
Here's some detail about the bug when trying to use this with load balancing/multiple servers (same thing effectively):
https://github.com/umbraco/Umbraco-CMS/issues/8038
@chris thanks for the details, i will have a read for this instance i should be ok as its purely a single server environment but good to know for future use, think definitely upgrading first though.
is working on a reply...