Hi at the moment our disk quota of our hosting server is increasing rapidly and wee are way over our quota. I'm not sure what is causing this issue. We didnt add any files lately, but somehow each week `0gb of disk space is filled by Magento. How can we decrease this?
These are some large files and folders at the moment:
17G .
7.5G ./var
6.9G ./pub
5.9G ./pub/media/catalog
5.9G ./pub/media
5.6G ./var/po_image_optimization_original_images/pub
5.6G ./var/po_image_optimization_original_images
1.3G ./var/page_cache
995M ./pub/static
749M ./pub/static/frontend
555M ./vendor
336M ./vendor/magento
280M ./var/view_preprocessed/pub
280M ./var/view_preprocessed 268M ./var/cache
215M ./bridge2cart 156M ./pub/static/_cache
114M ./vendor/magento/magento2-base
101M ./vendor/mpdf/mpdf
101M ./vendor/mpdf
Really need some help
Solved! Go to Solution.
Hi @Jojobaa
In a Magento website the following directories contain temporary or generated files you can clear periodically.
after this you need to run following commands.
sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy -f sudo php bin/magento cache:clean sudo php bin/magento cache:flush sudo chmod -R 777 var/ pub/ generated/
I hope it will help you.
Thanks
--
If answer is helpful, Please give 'Kudos' and accept 'Answer as Solution'
Hi @Jojobaa
In a Magento website the following directories contain temporary or generated files you can clear periodically.
after this you need to run following commands.
sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy -f sudo php bin/magento cache:clean sudo php bin/magento cache:flush sudo chmod -R 777 var/ pub/ generated/
I hope it will help you.
Thanks
--
If answer is helpful, Please give 'Kudos' and accept 'Answer as Solution'
Thanks, but the main problem was with the server host. There was a large server cache file extending to a 29gb file that was stuck somewhere on the server. So problem was with the hosting. Problem solved.
hi, I have the same problem. Disc quota increasing without any files added.
can you give me please some more details on how you solver the problem?
I am talking with support, but they just tell me to delete files.
I see that media files are duplicated up to 26 times each, in different cache folders!