At this point, I've added the settings in both the web.config and the webapp, even though I believe they should only be needed in the webapp.
I've opened a support ticket with Umbraco to see if they can assist. But for now, I've managed to get the site up and running by setting the LucineDirectoryFactory to sync on both the frontend and the backend instances:
We have a single instance Web App that scales to multiple instances on
high CPU usage
First of all, do not scale backend to multiple instances. If we need to scale the web app based on the traffic then, host the frontend & backend App separately and scale the frontend to multiple instances and backend do not scale (single instance).
And for this, we need to make some configuration changes recommended by Umbraco.
If you have any doubt about how to achieve this, please have a go through to this blog / Doc
System.ApplicationException: Could not create an index searcher with the supplied Lucene directory Azure
Followed docs on Umbraco website but my client received this error, which i cannot solve without an app restart :(
We have a single instance Web App that's scales to two instances on high CPU usage.
Its been fine for about a week and then suddenly the below error was reported when trying to save a new content item.
Hi Charlie
Did you try this?
Recommended configuration You need to add these appSettings:
https://our.umbraco.com/Documentation/Fundamentals/Setup/Server-Setup/azure-web-apps
This will fix your issue.
Hi Harikrishna,
Those settings should be in the web config correct? Or do they need to be in the Azure app settings?
I have those in the webconfig.
the site is running on a single web app that scales to 2 instances above 70% CPU usage
Hi Charlie, were you able to make any progress on this? We're experiencing the same issue.
Hi Tom,
No not entirely, but its has got progressively better over time.
Are you adding the settings in web.config or the webapp?
Either Umbraco Cloud or Umbraco 9 appears to be a lot more stable in my opinion in regards to this issue :)
At this point, I've added the settings in both the web.config and the webapp, even though I believe they should only be needed in the webapp.
I've opened a support ticket with Umbraco to see if they can assist. But for now, I've managed to get the site up and running by setting the LucineDirectoryFactory to sync on both the frontend and the backend instances:
Although I don't know how well this will actually scale when it comes to it, considering it goes against the advice in the documentation.
And I'm 100% with you about umb9! Hopefully that will be an option down the line.
Hi Charlie,
First of all, do not scale backend to multiple instances. If we need to scale the web app based on the traffic then, host the frontend & backend App separately and scale the frontend to multiple instances and backend do not scale (single instance).
And for this, we need to make some configuration changes recommended by Umbraco.
If you have any doubt about how to achieve this, please have a go through to this blog / Doc
Regards
Dhanesh Kumar
is working on a reply...