My magento 2.2 site has stopped running because the server instance it is hosted on has run out of storage space, I have looked into what is causing this and found that the
pub/media/catalog/product/cache folder is over 40GB large, I am unable to run a catalog reindex as the is no writing space available on my instance. Varnish has been returning a 503 error since.
I have over 20,000 products with each 2-3 images attached to them.
I have disabled cron and have been running manual reindexing and cache clearing.
Is it safe to delete that folder and assume that the cache would be regenerated, or would you have a better approach to handling this? I don't want to lose recent data.