Website Keeps Running Out of Memory

Original Post:

Sparetoolparts

Free Member
Oct 26, 2015
573
52
42
Hi Guys



I've got a M2 2.4.5 site, that over the last few days has been continually crashing due to disk space running out.



My developers have been removing old files and backups etc, and at one stage last week had brought the disk space down to 63% used, but then 2 x days ago the site went down with no space left and again we removed 40G of redundant old files etc and the site came back for a while but it is now down again.



We are getting to the point where there is very little left to remove if anything.



When my host looks at the folder breakdown they can see the biggest overall folder is



/var/www/vhosts/sitename/htdocs/pub/media/catalog/product/image



I have spotted something strange for some unknown reason to me folders appearing in this directory from the 22nd Dec 2023, the previously created folders in the directory was: 13-10-2022

So something is creating these folders and are putting images into them.

I've not been adding new products or updating images. The only thing I have been doing is bulk updating a text attribute called sparelink.

I have been doing this via the default Magento Import functionality. I have been updating 15,000 products at a time ( I would estimate I have updated over 200,000 products in Dec)

Some times the importing is timing out, so I let it go for a while, find the products that were last updated, create a new .csv file and start importing the products that weren't done. At this stage the import then completes successfully.

I can't see me updating a text attribute with a new value can be causing any problems? what else could be creating these folders with images in them?

Has anyone come across this issue before? Could the default importer being trying to update images of its own accord and be creating duplicates or something?

Where would my host need to look to see if a importing process is still running somewhere?
 

antropy

Business Member
  • Business Listing
    Aug 2, 2010
    5,313
    1,099
    West Sussex, UK
    www.antropy.co.uk
    Old Developers are Gone / Given Up / Moved On /Bye Bye

    My new developer has found and resolved the issue in a few hours!

    Lesson Learned, Don't Turn things on unless you know exactly what they are doing.

    I think the real lesson here was "listen to us when we say you're developers are rubbish" ;)

    Glad you got it sorted and thanks for updating the post.

    Paul.
     
    Upvote 0

    Latest Articles