Some files in var/cache/ folders are as large as 300Mb is this considered as normal or something is wrong with my Magento? (see screenshot)
Iam running Magento ver. 2.4.0 with up to 2000 products, single customer group.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communitySome files in var/cache/ folders are as large as 300Mb is this considered as normal or something is wrong with my Magento? (see screenshot)
Iam running Magento ver. 2.4.0 with up to 2000 products, single customer group.
These are page cache files and they can be deleted, it seems your script does not clean up cache files and the size of the files & folder is growing constantly.
If you won't delete, then it will increase upto 400Mb after weeks 500 MB. I Have face the same problem. So it would be better if you can delete your cache file in every week by manually or using script.
And if You know it's completely safe to delete everything under var if you need storage space.
According to you,Your website has 2000 products,So it will always increase 100- 200 mb every week. So you can delete by script on every week.
Updated Answer
Note one more thing, if you won't delete then after sometime when there is shortage of storage then user won't able to login as session will not be created due to no size left on disk space. And the cart page will not work as well.,