Skip to content

Magento Cache Grows Uncontrollably  #16375

@Shimon2

Description

@Shimon2

The Magento cache on our site keeps growing.

We Flush the Magento Cache. This brings disk usage to about 30.88GB (29%)
We warm the page cache with a utility that goes through the entire sitemap and warms the cache. This is done to improve the responsiveness of the site. This brings disk usage to about 50.7 GB (48)%.
The disk usage continues to climb at about 12 GB (10%) / day.

This means that if we do not flush the cache every 4-5 days we run out of disk space and the site chokes.

Preconditions

Magento 2.2.2.
PHP 7.0.30
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core

Steps to reproduce

  1. enter df command - see that the disk is very full (80% or so_
  2. clear magento cache - see that the disk is at 30.88GB 29%
  3. warm cache with all pages. - see that the disk is at 50.7 GB 48%
  1. wait 2-3 hours - see that the disk is at 53.3 GB 49%
  2. repeat step 4 and see that the disk usage continues to climb

Expected result

disk usage should plateau at some point.

Actual result

  1. Disk usage will grow to 100%, choking the site

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions