Question

WordPress WooCommerce snapshots growing rather quickly

Posted February 13, 2020 144 views
MySQLApacheWordPressUbuntu 18.04

7 months ago my multisite woo-commerce installation snapshots were around 7GB with 35000 variations and now it is 36GB with 40000 variations

What should I look for in my LAMP set up that would be causing this growth. I do have 4 x domains that all log errors and access but I dont think this would be the problem. I also log wordpress errors which does grow but not by 20 odd GB

Any Ideas

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

What I could suggest is finding out your disk usage and also which is the largest folder on your Droplet.

First, you could check your disk usage with the following command:

df -h

Then if you are storing your websites at the /var/www folder you could run the following:

du -h --max-depth=1 /var/www

You would see the following output:

114M    /var/www/blog
4G  /var/www/project

Then you depending on the largest folder you could run this again but add the path to the largest folder:

du -h --max-depth=1 /var/www/project

You could repeat that until you get to the largest folder. That way you will be able to figure out what is causing the sudden growth in the disk usage.

If this is not the case may be your MySQL databases have grown, you could do a similar thing for /var/lib/mysql.

Regards,
Bobby

Submit an Answer