Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

EPiServer CMS Mode Page Tree Performance



I have recently upgraded a cms site from EPiServer.CMS 11.8.0 to 11.11.2

We are occasionally facing High CPU Usage as soon as we try to access /episerver/cms, 

(Yes, our page Tree structure is bad but it was before the upgrade also, Few Pages contains a deep hierarchy of Content Area.)

High CPU High CPU usage was detected for the application 'XXXXX'(55.6%) on only one instance out of XXXXX instances in your app service plan. The affected instance had a peak overall usage of 100% during this time. Affected instance name: XXXXXXX More Info 
Failed Urls 57.14% of failures came from '/EPiServer/Shell/11.17.1/ClientResources/EPi/cms/nls/en-us/episerver.cms.components.pagetree.js' path.

Any hint or advice before we go to the service desk.

Best Regards

Apr 04, 2019 15:13


is another killer

Apr 04, 2019 16:23

@Khurram - can you run a profiler such as dotTrace for those requests to see which are in there?

Apr 04, 2019 16:51

This won't be possible, Its production, it's Azure, Its a large DB.

Apr 04, 2019 18:33

Then you can use Application Insights and memory dumps to find out what is slow :)

The developer support service is there!

Apr 04, 2019 20:18

Are you sure that works in the DXC Service version of Application Insights @Quan?

Apr 05, 2019 7:56

Which works? 

Khurram just said about Azure, nothing about DXC-S. Honestly I don't know what you can access with DXC-S, but you can always reach out for support

Apr 05, 2019 8:20

as an immediate remedy, we restarted applications. it solved the issue but it's under observation now. There is another weird issue that I am having on Release on few environments. To fix that only option that I have is Stop Application/Delete ww root folder and deploy again. But this is I have to do for every release. I am looking into this now but don't have any clue yet.

The argument 'nameOrConnectionString' cannot be null, empty or contain only white space.

[ArgumentException: The argument 'nameOrConnectionString' cannot be null, empty or contain only white space.]
   System.Data.Entity.Utilities.Check.NotEmpty(String value, String parameterName) +79
   System.Data.Entity.DbContext..ctor(String nameOrConnectionString) +34
   DbLocalizationProvider.LanguageEntities..ctor(String connectionString) +17
   DbLocalizationProvider.AspNet.Queries.GetResourceHandler.Execute(Query query) +105
   DbLocalizationProvider.AspNet.Queries.GetTranslationHandler.Execute(Query query) +538
   DbLocalizationProvider.EPiServer.DatabaseLocalizationProvider.GetString(String originalKey, String[] normalizedKey, CultureInfo culture) +90
   EPiServer.Framework.Localization.ProviderBasedLocalizationService.LoadString(String[] normalizedKey, String originalKey, CultureInfo culture) +122
   EPiServer.Framework.Localization.LocalizationService.TryGetStringByCulture(String originalKey, String[] normalizedKey, CultureInfo culture, CultureInfo fallbackCulture, String& localizedString) +140
   EPiServer.Framework.Localization.LocalizationService.GetStringByCulture(String resourceKey, FallbackBehaviors fallbackBehavior, String fallback, CultureInfo culture) +321
   EPiServer.Framework.Localization.LocalizationService.GetStringByCulture(String resourceKey, FallbackBehaviors fallbackBehavior, CultureInfo culture) +22
   EPiServer.Framework.Localization.LocalizationService.GetString(String resourceKey) +70
   EPiServer.Forms.EditView.InitializationModule.SetupFormContainerProperties() +708
   EPiServer.Forms.EditView.InitializationModule.Initialize(InitializationEngine context) +192
   EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key) +58
   EPiServer.Framework.Initialization.Internal.ModuleNode.Initialize(InitializationEngine context) +123
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +248

[InitializationException: Initialize action failed for Initialize on class EPiServer.Forms.EditView.InitializationModule, EPiServer.Forms.UI, Version=, Culture=neutral, PublicKeyToken=8fe83dea738b45b7]
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +774
   EPiServer.Framework.Initialization.InitializationEngine.ExecuteTransition(Boolean continueTransitions) +194
   EPiServer.Framework.Initialization.InitializationModule.EngineExecute(HostType hostType, Action`1 engineAction) +861
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +185
   EPiServer.Global..ctor() +42
   ASP.global_asax..ctor() +9
Apr 05, 2019 9:06

Above issue "name or connection string" is sorted, Just install Latest DBLocalization Provider.

The performance issue isn't solved, we are having this issue about after 7 days after a recycle. we don't recycle each night. I am going to raise this with support.


Apr 23, 2019 12:04
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.