truonglv
Well-known member
How many items you processing at one time?So far I am not seeing any errors, but server load is going through the roof. Disabling addon again.
How many items you processing at one time?So far I am not seeing any errors, but server load is going through the roof. Disabling addon again.
@Amin Sabet Have you optimized all images? Did the first optimization process ended?
If you pass that phase you're problems are gone and further optimizations will run smoothly.
Hopefully it knows which ones it already optimized and leaves those alone.
I haven't optimized all images. The load on my CPU is too great to get there.
I don't think so .... the uninstaller removes all traces from the addon, so the only way to recover this is to get the last backup and import xf_image_optimizer_log.
After that, you can install the addon and it will start in the last optimized image in the database logs.
@Amin Sabet you could try this addon to run deferred using cron.
https://xenforo.com/community/resources/goodfornothing-shell-defer.3791/
If I don't do that, it won't harm the images, right? Will just re-optimize them, which using jpegoptim twice at the same settings I think should be okay.
When I reinstalled without importing that log, nothing shows up in the addon log, even after waiting 15 min, but the CPU load goes up and up.
Have you tried that addon? I am tempted to try it but afraid. There is also this one:
https://xenforo.com/community/resources/trigger-deferred-php-via-shell-crontab.2512/
His addon contains a template modification which does that.
We use essential cookies to make this site work, and optional cookies to enhance your experience.