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
We're running Umbraco v7.14, and our App_Data cache just keeps growing up use all the space on the drive.
I'm using a script to delete all the files within and they're all image files (mainly .jpg) but in the half-hour the script has been running so far, it's deleted 40 GB of files. By comparison, the whole /media folder for that site is just over 2 GB.
I thought it was ImageProcessor maybe taking up lots of space, as there are several threads about that on these Forums (examples: 1, 2, 3) but I updated to the latest versions a couple of weeks or so ago (ImageProcessor.dll v126.96.36.199 and ImageProcessor.Web.dll v188.8.131.52, released in April 2020) and that doesn't seem to have made any difference.
Anyone got any ideas on how I could debug and solve this?
Edited to add: It was over 170 GB of space freed up by emptying the cache.
I've just spotted that the IIS_IUSRs group had Modify access but not Full Control to App_Data, which might be the answer. I've fixed that and will see if it makes the problem go away…
It looks like really an issue with ImageProcessor, can you check /config/imageprocessor config files?
Maybe you have so many image crops on pages?
Do you use dynamic sizing of images based on screen/browser window sizes?
Because that can give a lot of different sizes, of the same image.
it can also be somebody trying to bring down your server by brute-force generating lots of different image sizes, or if you enabled upscaling they can request bigger sizes ex: 5000x5000 images.
if the last is the case you can switch to only allowing templates to be used in the Image Processor configuration.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted