Skip to content

[Magento 2.1.6] Page Cache make growing size more and more #9458

Closed
@jurpro

Description

@jurpro

Hello. I have a problem with cache on Magento 2.1.x
Accourding my hosting provider services, the script of Magento 2.1.x more bigger and bigger size day by day. For example, last week the size of all files and folders is 400 MB, 2 days later 500 MB, and now 2 GB, and may be in a month it size approximately 32 GB.

This is problem for me when I need to upgrade to the latest version of Magento 2.1.x or the latest version theme, I need to backup all files but the system is very slow.

Preconditions

Make a backup files for Magento system

Steps to reproduce

  1. Open Cpanel, then Files Explorer
  2. Make a backup file for Magento system such as ZIP files.

Expected result

  1. The backup file successful such as magento.zip

Actual result

  1. Long time for result zip files.
  2. Or If unsuccesful there is only file with something like this: zzYYhMmB, xxTgBhM

According to my hosting service support, there is a bigger files on : /home/xxxxx/public_html/var/page_cache day by day.

I wish, next version, Magento can fix this problem.

Here is the answer from my Hosting:

Hi there,

In my last reply I showed where most the data was used which is here:

And in /home/xxxx/public_html/var/page_cache

There is 16G used:

978M ./mage--5
984M ./mage--7
993M ./mage--9
1001M ./mage--b
979M ./mage--8
985M ./mage--f
983M ./mage--1
1000M ./mage--a
982M ./mage--2
992M ./mage--6
994M ./mage--3
1004M ./mage--e
1000M ./mage--4
1019M ./mage--0
987M ./mage--d
981M ./mage--c
90M ./mage-tags
16G .

Note these are page cache files and can be deleted, it seems your script does not clean up cache files and the size of the folder is growing constantly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions