Quote from: yaronyo at Sep 15, 2013, 08:17 AM
Maybe it also has something to with DirectResize Revo plugin when clearing cache? - Does it clear all the images cache and regenerates them which contributes to the overload?
I haven't used DirectResize, but anything containing the words "plugin" and "image resize" in its description should raise a big red performance flag. Especially with the number of images on your home page.
A plugin like that will run
every time the page is accessed, whether it's cached or not, and no matter what caching system you're using. It may not have to generate any images, but it's still got to look through the page's source, find
all the img tags and for each one check if the file in the src exists and is the right size, etc. And do it all again the very next time anyone hits the page.
There are a few different versions of DirectResize and I don't know how similar they are to one another, but I took a quick look through the one who's
code is on GitHub. Some lines like
this are most worrisome:
// increase the memory limit
ini_set('memory_limit', '64M');
So if the server's memory limit was set to, say, 256M, this will "increase" it to 64M? Umm, thanks? I don't know about the rest of the program, but as the saying goes "where there's smoke, there's fire" : )