• Resolved mgason

    (@mgason)


    Hi,
    I double checked with my host. My site is about 11 gigabytes total.
    When I do a scan I get this……
    There are 65,275 issue(s) with your files, accounting for 115,707.04 MB
    Thats 115 gigabytes of unused images which is basically 10 times my site. The site could well be 11.x? gigabytes. Could it be a simple math error.
    Or is it crawling beyond my site on a shared server!! I doubt that but the thought is scary.
    Also as I am testing on a dev server I just decided to see what happen when I click delete all. Rather than hunt through literally thousand of pages of results. I thought it may be easier to fix the accidentally removed images after the fact. After I clicked delete it got to 23% in 12 hours. What settings could maybe I change to speed it up? I am on a shared server but with WPEngine a pretty good WP specific host.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Which method have you used to scan your install? That seems like a huge number of errors, but if you have 5,000 media entries, and did a Filesystem scan, that’s not surprising.

    THe deletion is a very fast process, at least on the Media Cleaner side. Unfortunately, the way WordPress and PHP works, there is no other way but for each query to be run the whole WordPress system has to be loaded, and all the plugins initialized, every time (that is not related to Media Cleaner, that is like that for everything). So disabling heavy plugins would accelerate the process a lot.

    Thread Starter mgason

    (@mgason)

    Hi,
    it is the free plugin, so not a filesystem scan. Any thoughts on image data reported being way more than my whole site?
    it is a woocommerce store. A thousand products. Many with multiple images. I suspect WP has been generating unneeded image sizes on upload. I am working on that. Also many products may have been deleted over time.
    Unless disabling plugins is going to make a huge difference that is not really a option on the live store site as we would have to close it down. By my reckoning we have 48 hours of deleting to do on the live site! After we test on dev.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    To be honest, I am not sure, the results can’t normally display more results that the number of items you have in your library. What do you mean by image data? If you talk about the size of all the “useless files” compared with the total amount of the “full-sizes images”, in that case, it could certainly be superior.

    I would need to see screenshots and a lot more information. Otherwise, I don’t really know, and that would be an issue I never faced yet.

    Thread Starter mgason

    (@mgason)

    Initially as I said Media Cleaner reported that my site has “115,707.04 MB of unused images” Thats 115 gigabytes. My host says my total site uses 11 gigabytes of server space. You will have to take my word for that, I don’t have a screenshot but I just copied and pasted that number for my previous post. So it is reporting my unused images are are over 10 times the megabytes of my site on the server?

    I have since been deleting images. Some are in the media cleaner trash, some are not yet deleted. Media Cleaner while deleting does not show me the total size of in megabytes files it will delete. But it does show me what is in the trash. “Your trash contains 16,418.99 MB”
    Even that number too is larger than my host says my entire space my site occupies on their server. They say my site is 11 gigabytes. Or 11,000 MB. Media Cleaner says just its trash folder contains 16 gigabytes with many more files to delete.
    There is a screenshot here https://pasteboard.co/IkXZ31C.jpg
    Screenshot of site storage use here
    https://pasteboard.co/IkY6Fwl.jpg

    Plugin Author Jordy Meow

    (@tigroumeow)

    I am also using WPEngine. on most of my installs, but the results I got are actually consistent.

    To really understand where the problem lies, we would need to look in details, there might a file or two for which the wrong information is returned, and that would mess the whole results.

    If you can reproduce the issue with a small number of files, that would be good because we could try to debug it. But with such a huge number of files, that will be hard, and I can’t guess what’s happening at all :/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘media cleaner reports unused images megabytes more than 10 times the size of my’ is closed to new replies.