My customer’s website has space for 30 GB of data, but there is also a limit to the number of files in the file system. In our case 120,000. And we have almost reached this limit, although the website “weighs” only about 1.5 GB (about 200 products á 6 to 10 images). The reason is that a lot of files are generated in the media folder.
Here is an example. A certain product has six images, which are generated in three different sizes and different qualities. So for this product there are about 20 images in total, which are generated by the focus plugin.
If I now look at the subfolder for the product within “media”, there are a total of 566 files in 299 folders there - just for this one product. This is due, as far as I can see, to the many directories called “.jobs” where json files are stored. There are more JSON files than images.
Does it have to be that way? Looking forward to input.
What can I do or check why the JSON files do not disappear again automatically? Why are the jobs in the folder and not running?
Images with sizes 352xh or 864xh ( last folder in screenshot above) we do not have on the site at all!? Where could the jobs come from that are not executed?
What happens if you update the Kirby core and don’t delete the media folder? Is it possible that there is then a duplication of data? That could perhaps be a reason why so much data has accumulated in my project.