Description
Magento CE 2.4.1
Ubuntu 20.04 LTS
PHP 7.4.3
MySQL 8.022 (Amazon RDS)
Elasticsearch 7.6.2
Redis 5.2.1
Varnish 6.2.1
Nginx 1.8
PS. I have over 5000+ products in 2 websites (EU/US) EU site has 5 Store views (EN,FR,IT,DE,ES). US site has 1 Store view (US). Total of 6 Store view for my site.
During Testing, the site was performing well on my staging server. When I finally deployed it to production this week after setting the mode to production and seeing real traffic, my cache started growing at alarming rate. Right now, it will fill up 100GB in 2 hours. That never happened in Magento 2.3.3 in my old box.
My old box had 30GB in production mode and was running fine with Varnish. much smaller.
When I run the command du -h /var/cache it total 741MB in my old box
When I run the command du -h /var/cache in my current box it grows from 0 -> 10GB in 1 min and within 2 hours its 100GB.
Attached are results of both du command to see file size.
du-output-2.4.1-mage--d.txt
du-output-2.3.3-mage--d.txt