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
This week we had performance issues and high CPU usage with a large Umbraco website. It quite heavily uses ImageProcessor for resizing a lot of images.
We found out that moving the ImageProcessor cache outside the wwwroot boosted the performance a lot but it got even better when fcnMode in Web.config was set to "Disabled" instead of "Single", which is default for Umbraco.
What are the consequences if fcnMode is set to Disabled except that view files are no longer being monitored?
We use a self-hosted server, no cloud hosting.
Have you managed to get any more information relating to this?
I am seeing a very similar issue on another large client, that again heavily uses the ImageProcessor and we are experiancing 100% CPU useage around the time of save and publish events.
We haven't set the fnMode to "Disabled" yet, as the client wants evidence that this is the root cause of the issue.
Did you also moved the cache-directory outside the root folder of your site? We moved the cache folder on the same level as the root-folder of the website and changed in the file “config/imageprocessor/cache.config”
<setting key="VirtualCachePath" value="~/app_data/cache" />
<setting key="VirtualCachePath" value="~/../cache" />
We did delete the cache-folder from AppData\Temp to reduce the number of files under the websiteroot. Don't forget to set the right permissions on the folder (Modify-permission for IIS_IUSRS).
This helped us a lot in reducing CPU usage dramatically. But it even got much better changing the fcnMode to “Disabled”. We’re trying this option for now and wait until there are people complaining ;-)
Setting fcnMode to disabled will disable all file watchers within the application. This means that when watched .config files change (eg. web.config) then the app domain will no longer restart. So think whether this will be a problem for you?
See what Shannon wrote about this: https://shazwazza.com/post/all-about-aspnet-file-change-notification-fcn/
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted