Hopelessone
Forum Replies Created
-
error: “Cache Zone Path” does not appear to be a Nginx cache zone directory.” and the button is grey instead of red. Nginx Helper working yours not after the 4.6 update.
using another “Nginx Helper” plugin that works until this is sorted
nope, as soon as the cache has something the button disappears and the error msg comes up, Not resolved. what to do?
nevermind I just cleared it manually then the button came back.. must have to do it when/before upgrading wp
yay, more good news ??
So i’m guessing this can be marked solved (even though i didn’t get the chance to investigate why 2.9.3 didn’t work for me..)
glad it’s working ??
ok, so some good news, i upgraded to 2.9.4 (again) to test parallel optimization, and it works ?? I uploaded 2 images and the cpu never went over 30% while doing both..
I did like the 2.8.5 behavior (images were optimized as you uploaded), as I’m a bit worried about fastcgi full page caching on the server, wonder if it takes the un-optimized image…?
I just tested it with 2.8.5 and looks like it optimizes the image faster, because when i clicked Media it was already optimized, so maybe you are right about not refreshing, seems like the 2.9.4 is a tad slower showing In Progress..
The 2 cores went to 50% in 2.8.5 so that must be normal when optimizing a small jpg
ahh, ok i’m sure it refreshed before in 2.8.5..
It was just 1 image I uploaded as a test,
Reduced by 1.4% (6.4 kB)
Image Size: 464.43 kB
Re-optimize | JPG to PNGI just used htop to check the server cores while optimizing the image when it hit 35% (only for a second though)
if you need wp or server access or anything tell me ??
looks like the new version 1.9.4 fixes the issue before I could look into this, there is 1 small issue: when in Media it always shows “In Progress” it used to refresh it automatically, now you have to f5 or reload the page and it shows “Reduced by 1.4% (6.4 kB)”
using 35% cpu! both cores when optimizing (with disable parallel), is this normal? I think it is not sure ??
ahh, have to wait about a week, my dev guy is still on holiday, should be back real soon.
OK, I will ask my friend who takes care of that stuff on my server, get back to you soon with an answer..
I’ve disabled the Parallel Optimization under Advanced settings, however, it still freezes and shows permanent “In Progress”.. I have downgraded to 2.8.5 its the only one that works, anything above that shows “In Progress”. Any ideas?
Server logs:
2016/07/10 07:51:12 [error] 14326#14326: *3071 connect() failed (111: Connection refused) while connecting to upstream, client: 2001:19f0:5c00:9063:5400:ff:fe13:5b6f, server: mywebsite.com, request: "POST /wp-admin/admin-ajax.php?action=wp_ewwwio_async_optimize_media&nonce=e57802c374 HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000", host: "dev.mywebsite.com" 2016/07/10 07:51:12 [error] 14326#14326: *3071 no live upstreams while connecting to upstream, client: 2001:19f0:5c00:9063:5400:ff:fe13:5b6f, server: mywebsite.com, request: "POST /wp-admin/admin-ajax.php?action=wp_ewwwio_async_optimize_media&nonce=e57802c374 HTTP/1.0", upstream: "fastcgi://hhvm", host: "dev.mywebsite.com"in
from the main plugin debug:
www-data EWWW IO version: 293.0 WP version: 4.5.3 PHP version: 50699 ewww_image_optimizer_gallery_support() ewww_image_optimizer_admin_init() ewww_image_optimizer_init() ewww_image_optimizer_cloud_init() ewww_image_optimizer_exec_init() ewww_image_optimizer_cron_setup() ewww_image_optimizer_tool_init() ewww_image_optimizer_install_tools() Checking/Installing tools in /var/www/dev/wp-content/ewww/ wp-content/ewww permissions: 0777 ewww_image_optimizer_install_paths() CPU architecture: x86_64 generated paths: /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/jpegtran-linux /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/optipng-linux /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-linux /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-linux /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-linux /var/www/dev/wp-content/ewww/jpegtran /var/www/dev/wp-content/ewww/optipng /var/www/dev/wp-content/ewww/gifsicle /var/www/dev/wp-content/ewww/pngquant /var/www/dev/wp-content/ewww/cwebp ewww_image_optimizer_skip_tools() enabled: jpegtran enabled: optipng enabled: gifsicle Linux/UNIX style OS, checking permissions ewww_image_optimizer_check_permissions() permissions for /var/www/dev/wp-content/ewww/jpegtran: 0755 permissions ok ewww_image_optimizer_check_permissions() permissions for /var/www/dev/wp-content/ewww/gifsicle: 0755 permissions ok ewww_image_optimizer_check_permissions() permissions for /var/www/dev/wp-content/ewww/optipng: 0755 permissions ok ewww_image_optimizer_settings_script() ewww_image_optimizer_bulk_script() ewww_image_optimizer_aux_images_script() ewww_image_optimizer_webp_script() ewww_image_optimizer_notice_utils() ewww_image_optimizer_exec_check() disable_functions: suhosin_blacklist: ewww_image_optimizer_safemode_check() safe_mode = ewww_image_optimizer_skip_tools() enabled: jpegtran enabled: optipng enabled: gifsicle ewww_image_optimizer_path_check() ewww_image_optimizer_find_nix_binary() found /var/www/dev/wp-content/ewww/jpegtran, testing... ewww_image_optimizer_md5check() /var/www/dev/wp-content/ewww/jpegtran: 21d8046e07cb298dfd2f3b1e321c67c378a4d35fa8adc3521acc42b5b8088d64 checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/dev/wp-content/ewww/jpegtran finfo_file: application/x-executable ewww_image_optimizer_tool_found() testing case: j at /var/www/dev/wp-content/ewww/jpegtran /var/www/dev/wp-content/ewww/jpegtran: Independent JPEG Group's JPEGTRAN, version 9b 17-Jan-2016 optimizer found ewww_image_optimizer_find_nix_binary() found /var/www/dev/wp-content/ewww/optipng, testing... ewww_image_optimizer_md5check() /var/www/dev/wp-content/ewww/optipng: 853ca5936a2dd92a17b3518fd55db6be35e1b2bebfabca3949c34700072e08b8 checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/dev/wp-content/ewww/optipng finfo_file: application/x-executable ewww_image_optimizer_tool_found() testing case: o at /var/www/dev/wp-content/ewww/optipng /var/www/dev/wp-content/ewww/optipng: OptiPNG version 0.7.6 optimizer found ewww_image_optimizer_find_nix_binary() found /var/www/dev/wp-content/ewww/gifsicle, testing... ewww_image_optimizer_md5check() /var/www/dev/wp-content/ewww/gifsicle: deea065a91c8429edecf42ccef78636065f7ae0dad867df7696128c6711e4735 checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/dev/wp-content/ewww/gifsicle finfo_file: application/x-executable ewww_image_optimizer_tool_found() testing case: g at /var/www/dev/wp-content/ewww/gifsicle /var/www/dev/wp-content/ewww/gifsicle: LCDF Gifsicle 1.87 optimizer found using: /var/www/dev/wp-content/ewww/jpegtran using: /var/www/dev/wp-content/ewww/optipng using: /var/www/dev/wp-content/ewww/gifsicle defining EWWW_IMAGE_OPTIMIZER_JPEGTRAN defining EWWW_IMAGE_OPTIMIZER_OPTIPNG defining EWWW_IMAGE_OPTIMIZER_GIFSICLE defining EWWW_IMAGE_OPTIMIZER_PNGOUT defining EWWW_IMAGE_OPTIMIZER_PNGQUANT defining EWWW_IMAGE_OPTIMIZER_WEBP ewww_image_optimizer_options() ABSPATH: /var/www/dev/ home url: https://dev.mywebsite.com site url: https://dev.mywebsite.com ewww_image_optimizer_savings() querying savings for single site query to be performed: SELECT SUM(orig_size-image_size) FROM cx_ewwwio_images savings found: 21734476 ewww_image_optimizer_install_paths() CPU architecture: x86_64 generated paths: /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/jpegtran-linux /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/optipng-linux /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-linux /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-linux /var/www/dev/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-linux /var/www/dev/wp-content/ewww/jpegtran /var/www/dev/wp-content/ewww/optipng /var/www/dev/wp-content/ewww/gifsicle /var/www/dev/wp-content/ewww/pngquant /var/www/dev/wp-content/ewww/cwebp ewww_image_optimizer_skip_tools() enabled: jpegtran enabled: optipng enabled: gifsicle ewww_image_optimizer_tool_found() testing case: j at /var/www/dev/wp-content/ewww/jpegtran /var/www/dev/wp-content/ewww/jpegtran: Independent JPEG Group's JPEGTRAN, version 9b 17-Jan-2016 optimizer found ewww_image_optimizer_tool_found() testing case: o at /var/www/dev/wp-content/ewww/optipng /var/www/dev/wp-content/ewww/optipng: OptiPNG version 0.7.6 optimizer found ewww_image_optimizer_tool_found() testing case: g at /var/www/dev/wp-content/ewww/gifsicle /var/www/dev/wp-content/ewww/gifsicle: LCDF Gifsicle 1.87 optimizer found ewww_image_optimizer_safemode_check() safe_mode = ewww_image_optimizer_exec_check() disable_functions: suhosin_blacklist: ewww_image_optimizer_gd_support() GD found, supports: GD Version: bundled (2.0.34 compatible) FreeType Support: 1 FreeType Linkage: with freetype T1Lib_Support: GIF Read Support: 1 GIF Create Support: 1 JPEG Support: 1 PNG Support: 1 WBMP Support: 1 XPM Support: XBM Support: 1 JIS-mapped Japanese Font Support: ewww_image_optimizer_gmagick_support() ewww_image_optimizer_imagick_support() ewww_image_optimizer_find_nix_binary() ewww_image_optimizer_tool_found() testing case: i at convert convert: Version: ImageMagick 6.7.7-10 2016-06-01 Q16 https://www.imagemagick.org imagemagick found ewww_image_optimizer_find_nix_binary() ewww_image_optimizer_tool_found() testing case: n at nice nice: 0 nice found remove metadata: on jpg level: 10 png level: 10 gif level: 10 pdf level: 0 bulk delay: 0 optipng level: 2 pngout disabled: yes pngout level: 2 ewww_image_optimizer_jpg_quality() parallel optimization: on scheduled optimization: off include media library: off max media dimensions: 0 x 0 max other dimensions: 0 x 0 resize existing images: off ewww_image_optimizer_get_image_sizes() Array ( [0] => thumbnail [1] => medium [2] => medium_large [3] => large [4] => dazzling-featured [5] => most-read-thumb [6] => top-menu-thumb [7] => post-image ) Array ( [thumbnail] => Array ( [width] => 150 [height] => 150 ) [medium] => Array ( [width] => 300 [height] => 300 ) [medium_large] => Array ( [width] => 768 [height] => 9999 ) [large] => Array ( [width] => 1024 [height] => 1024 ) [dazzling-featured] => Array ( [width] => 1024 [height] => 575 ) [most-read-thumb] => Array ( [width] => 150 [height] => 150 ) [top-menu-thumb] => Array ( [width] => 200 [height] => 115 ) [post-image] => Array ( [width] => 1024 [height] => 535 ) ) disabled resizes: thumbnail: optimization=enabled creation=enabled medium: optimization=enabled creation=enabled medium_large: optimization=enabled creation=enabled large: optimization=enabled creation=enabled dazzling-featured: optimization=enabled creation=enabled most-read-thumb: optimization=enabled creation=enabled top-menu-thumb: optimization=enabled creation=enabled post-image: optimization=enabled creation=enabled skip images smaller than: 0 bytes skip PNG images larger than: 0 bytes exclude originals from lossy: off exclude originals from metadata removal: off use system binaries: no webp conversion: off alt webp rewriting: off jpg2png: off ewww_image_optimizer_jpg_background() ewww_image_optimizer_jpg_background() png2jpg: off gif2png: off max_execution_time: 0
Hope that helps ??