Hi,
Yesterday I got my Semi-dedicated (SDX) server blocked my zenphoto scripts.
The reason why was (according to them) ...
running various CPU intensive php scripts which are causing very high load on the server and due to which server is going under very high load. Please have a look at the follow details about your php scripts running in parallel.
%CPU 104 - /opt/cpanel/ea-php56/root/usr/bin/php-cgi /home/xxxxxxx/public_html/gallery/index.php
After many discussion, they told me ... to check and optimize the code to decrease the resource usage
I never experienced that kind of problem before.
Is there a way to do that in the zenphoto script ?
I am running the latest version of the script.
It was probably a one shot event that triggered the server to block the php script, but they were not smart enough to unblock it later on to see if the problem is gone!
Thanks for your input
Sorry for your trouble. You probably have too many and too large images to process. Or maybe a traffic peak for some reasons? That is the only thing that can eat up resources.
Measure are therefore:
More on how caching works:
http://www.zenphoto.org/news/caching/
It is probably the case ... a traffic peak.
BTW I am the only one using the scripts meaning all phots are mine. There are no users registered. So I control everything I upload like ...
That looks good so far. I would recommend to use the static_html_cache plugin as well as that limits the php processing as well.
I know we had in the past trouble with traffic peaks caused by primarily spam attemp traffic. Maybe that was what was happening. I can only assume to keep an eye on this.
I fear I cannot really answer the question about that server internal function as I don't setup my own servers. But you can certainly try that. More than not working can't happen I guess. You're host may be able to help and assist in their own interest.
Besides, Zenphoto certainly works on Linux based servers, our own site does.
I found that watermarking bogged the uploader and caused server errors. Well, I had been having upload server errors and turning off the automatic watermarking, has solved my issue (OK today, but will inform if that changes)