Title: Bulk optimization keeps stalling
Last modified: August 31, 2016

---

# Bulk optimization keeps stalling

 *  Resolved [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/)
 * All last night and now this morning I have tried to bulk optimize all my media
   and it keeps stalling and says operation interrupted. AFter I hit bulk optimize,
   it will try for a good 5-15 minutes before the interruption message.
 * website: GetFitGoFigure.com
 * debugging:
 * getfitgo
    EWWW IO version: 259.0 WP version: 4.4.2 PHP version: 50616 ewww_image_optimizer_preinit()
   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_cron_setup() ewww_image_optimizer_tool_init() ewww_image_optimizer_install_tools()
   Checking/Installing tools in /home/getfitgo/public_html/wp-content/ewww/ wp-content/
   ewww permissions: 0755 ewww_image_optimizer_install_paths() CPU architecture:
   x86_64 generated paths: /home/getfitgo/public_html/wp-content/plugins/ewww-image-
   optimizer/binaries/jpegtran-linux64 /home/getfitgo/public_html/wp-content/plugins/
   ewww-image-optimizer/binaries/optipng-linux /home/getfitgo/public_html/wp-content/
   plugins/ewww-image-optimizer/binaries/gifsicle-linux /home/getfitgo/public_html/
   wp-content/plugins/ewww-image-optimizer/binaries/pngquant-linux /home/getfitgo/
   public_html/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-linux864 /
   home/getfitgo/public_html/wp-content/ewww/jpegtran /home/getfitgo/public_html/
   wp-content/ewww/optipng /home/getfitgo/public_html/wp-content/ewww/gifsicle /
   home/getfitgo/public_html/wp-content/ewww/pngquant /home/getfitgo/public_html/
   wp-content/ewww/cwebp 64-bit linux detected while installing tools ewww_image_optimizer_md5check()/
   home/getfitgo/public_html/wp-content/ewww/jpegtran-alt: 8e4a09bb04ba001f5f16651ae8594f7f
   md5sum verified, binary is intact ewww_image_optimizer_md5check() /home/getfitgo/
   public_html/wp-content/ewww/cwebp-alt: 85f681c1ced4e1726b0d4e69c222186d md5sum
   verified, binary is intact Linux/UNIX style OS, checking permissions ewww_image_optimizer_check_permissions()
   permissions for /home/getfitgo/public_html/wp-content/ewww/jpegtran: 0755 permissions
   ok ewww_image_optimizer_check_permissions() permissions for /home/getfitgo/public_html/
   wp-content/ewww/gifsicle: 0755 permissions ok ewww_image_optimizer_check_permissions()
   permissions for /home/getfitgo/public_html/wp-content/ewww/optipng: 0755 permissions
   ok ewww_image_optimizer_check_permissions() permissions for /home/getfitgo/public_html/
   wp-content/ewww/pngquant: 0755 permissions ok ewww_image_optimizer_check_permissions()
   permissions for /home/getfitgo/public_html/wp-content/ewww/cwebp: 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_path_check() ewww_image_optimizer_find_nix_binary()
   found /home/getfitgo/public_html/wp-content/ewww/gifsicle, testing… ewww_image_optimizer_md5check()/
   home/getfitgo/public_html/wp-content/ewww/gifsicle: 40ceed9c36838b5b9ccc505ab224d90f
   md5sum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype:/
   home/getfitgo/public_html/wp-content/ewww/gifsicle ewww_image_optimizer_find_nix_binary()
   ewww_image_optimizer_tool_found() testing case: f at file file: magic file from/
   etc/magic:/usr/share/misc/magic file binary found file command: /home/getfitgo/
   public_html/wp-content/ewww/gifsicle: ELF 32-bit LSB executable, Intel 80386,
   version 1 (SYSV), statically linked, for GNU/Linux 2.6.9, not stripped ewww_image_optimizer_tool_found()
   testing case: g at /home/getfitgo/public_html/wp-content/ewww/gifsicle /home/
   getfitgo/public_html/wp-content/ewww/gifsicle: LCDF Gifsicle 1.87 optimizer found
   using: /home/getfitgo/public_html/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: /home/getfitgo/
   public_html/ home url: [http://www.getfitgofigure.com](http://www.getfitgofigure.com)
   site url: [http://www.getfitgofigure.com](http://www.getfitgofigure.com) ewww_image_optimizer_savings()
   querying savings for single site query to be performed: SELECT SUM(orig_size-
   image_size) FROM wp_ware_ewwwio_images savings found: ewww_image_optimizer_cloud_verify()
   verification success via: [https://45.55.97.156](https://45.55.97.156) verification
   body contents: great ewww_image_optimizer_cloud_quota() quota data retrieved:
   0 -4766 0 ewww_image_optimizer_install_paths() CPU architecture: x86_64 generated
   paths: /home/getfitgo/public_html/wp-content/plugins/ewww-image-optimizer/binaries/
   jpegtran-linux64 /home/getfitgo/public_html/wp-content/plugins/ewww-image-optimizer/
   binaries/optipng-linux /home/getfitgo/public_html/wp-content/plugins/ewww-image-
   optimizer/binaries/gifsicle-linux /home/getfitgo/public_html/wp-content/plugins/
   ewww-image-optimizer/binaries/pngquant-linux /home/getfitgo/public_html/wp-content/
   plugins/ewww-image-optimizer/binaries/cwebp-linux864 /home/getfitgo/public_html/
   wp-content/ewww/jpegtran /home/getfitgo/public_html/wp-content/ewww/optipng /
   home/getfitgo/public_html/wp-content/ewww/gifsicle /home/getfitgo/public_html/
   wp-content/ewww/pngquant /home/getfitgo/public_html/wp-content/ewww/cwebp ewww_image_optimizer_tool_found()
   testing case: g at /home/getfitgo/public_html/wp-content/ewww/gifsicle /home/
   getfitgo/public_html/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.1.0 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: 1 XBM Support: 
   1 WebP Support: 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: sh: convert:
   command not found tool not found ewww_image_optimizer_tool_found() testing case:
   i at /usr/bin/convert /usr/bin/convert: sh: /usr/bin/convert: No such file or
   directory tool not found ewww_image_optimizer_tool_found() testing case: i at/
   usr/local/bin/convert /usr/local/bin/convert: sh: /usr/local/bin/convert: No 
   such file or directory tool not found ewww_image_optimizer_tool_found() testing
   case: i at /usr/gnu/bin/convert /usr/gnu/bin/convert: sh: /usr/gnu/bin/convert:
   No such file or directory tool not found ewww_image_optimizer_tool_found() testing
   case: i at /usr/syno/bin/convert /usr/syno/bin/convert: sh: /usr/syno/bin/convert:
   No such file or directory tool not found ewww_image_optimizer_find_nix_binary()
   ewww_image_optimizer_tool_found() testing case: f at file file: magic file from/
   etc/magic:/usr/share/misc/magic file binary found ewww_image_optimizer_find_nix_binary()
   ewww_image_optimizer_tool_found() testing case: n at nice nice: 0 nice found 
   cloud JPG: on cloud PNG: on PNG extra compress: off cloud GIF: off cloud fast
   lossy: off remove metadata: off lossy JPG: off lossy PNG: off bulk delay: 0 optipng
   level: 2 pngout level: 2 scheduled optimization: off deferred optimization: off
   disable auto-optimization: off include media library: off ewww_image_optimizer_get_image_sizes()
   Array ( [thumbnail] => Array ( [width] => 290 [height] => 290 ) [medium] => Array([
   width] => 560 [height] => 420 ) [large] => Array ( [width] => 940 [height] =>
   999999 ) [rss-image] => Array ( [width] => 200 [height] => 200 ) [shop_thumbnail]
   => Array ( [width] => 180 [height] => 180 ) [shop_catalog] => Array ( [width]
   => 290 [height] => 290 ) [shop_single] => Array ( [width] => 560 [height] => 
   420 ) ) disabled resizes: thumbnail: optimization=enabled creation=enabled medium:
   optimization=enabled creation=enabled large: optimization=enabled creation=enabled
   rss-image: optimization=enabled creation=enabled shop_thumbnail: optimization
   =enabled creation=enabled shop_catalog: optimization=enabled creation=enabled
   shop_single: 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 jpegtran
   disabled: no optipng disabled: no pngout disabled: yes gifsicle disabled: no 
   webp conversion: off alt webp rewriting: off jpg2png: off ewww_image_optimizer_jpg_background()
   ewww_image_optimizer_jpg_background() ewww_image_optimizer_jpg_quality() png2jpg:
   off gif2png: on max_execution_time: 30
 * [https://wordpress.org/plugins/ewww-image-optimizer/](https://wordpress.org/plugins/ewww-image-optimizer/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102298)
 * Does it seem like it is getting stuck on a particular image?
 *  Thread Starter [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102304)
 * I thought that was the case last night but this morning it is on another pic 
   and the same thing is happening..
 * Also, midway through before it stalls completely it will say temporary failure
   several times that will flash on the screen for a few seconds and then it will
   resume until stalling….
 *  Thread Starter [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102306)
 * Also I want to note that it won’t ever get past what ever the 1st pic is that
   is it optimizing.. it will keep trying and trying the whole time. I have 1353
   pics to optimize right now and I think I have gotten 3-5 optimized last night
   constantly restarting it….
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102309)
 * Sounds like it is timing out on the responses then, which seems likely given 
   you are using lossy compression with 7 resizes, and only a 30 second max_execution_time.
 * So the first thing I would do is increase the max_execution_time with in your
   php settings (if you are allowed to).
 * If that doesn’t work, I recommend you switch over to the fast lossy compression
   on the EWWW Cloud settings tab.
 *  Thread Starter [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102312)
 * thanks for the prompt response. I will try that now and get back to you.
 *  Thread Starter [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102351)
 * I tried to find the php settings and all I got were directions to the style sheet.
   In the style sheet via search, I did not find max_execution. I have yet to try
   and find the php file via bluehost.. I will try that later today.. but,
 * then I checked the faster lossy optimization option and I it went through 9 pics
   then stalled again… but, it only shows now that I have 1352 images that need 
   optimizing which is only 1 less than the previous number.
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102357)
 * Bluehost should have a way to install a custom php.ini file. You most certainly
   won’t find max_execution_time in your stylesheet. I’ve gotten help from them 
   in the past on setting that up.
 *  Thread Starter [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102402)
 * All right, I increased the max execution to 60 seconds from 30 seconds in the
   php. I also checked the lossy optimization under the cloud settings.
 * it hasn’t stalled yet but for the last 15 minutes its been on the same pic with
   the temporary error coming up 5 times….
 * how long should it take to optimize a pic?
 *  Thread Starter [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102403)
 * and operation was just interrupted….and stalled…
 *  Thread Starter [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102404)
 * debugging info:
    getfitgo EWWW IO version: 259.0 WP version: 4.4.2 PHP version:
   50616 ewww_image_optimizer_preinit() 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_cron_setup() ewww_image_optimizer_tool_init()
   ewww_image_optimizer_install_tools() Checking/Installing tools in /home/getfitgo/
   public_html/wp-content/ewww/ wp-content/ewww permissions: 0755 ewww_image_optimizer_install_paths()
   CPU architecture: x86_64 generated paths: /home/getfitgo/public_html/wp-content/
   plugins/ewww-image-optimizer/binaries/jpegtran-linux64 /home/getfitgo/public_html/
   wp-content/plugins/ewww-image-optimizer/binaries/optipng-linux /home/getfitgo/
   public_html/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-linux /
   home/getfitgo/public_html/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-
   linux /home/getfitgo/public_html/wp-content/plugins/ewww-image-optimizer/binaries/
   cwebp-linux864 /home/getfitgo/public_html/wp-content/ewww/jpegtran /home/getfitgo/
   public_html/wp-content/ewww/optipng /home/getfitgo/public_html/wp-content/ewww/
   gifsicle /home/getfitgo/public_html/wp-content/ewww/pngquant /home/getfitgo/public_html/
   wp-content/ewww/cwebp 64-bit linux detected while installing tools ewww_image_optimizer_md5check()/
   home/getfitgo/public_html/wp-content/ewww/jpegtran-alt: 8e4a09bb04ba001f5f16651ae8594f7f
   md5sum verified, binary is intact ewww_image_optimizer_md5check() /home/getfitgo/
   public_html/wp-content/ewww/cwebp-alt: 85f681c1ced4e1726b0d4e69c222186d md5sum
   verified, binary is intact Linux/UNIX style OS, checking permissions ewww_image_optimizer_check_permissions()
   permissions for /home/getfitgo/public_html/wp-content/ewww/jpegtran: 0755 permissions
   ok ewww_image_optimizer_check_permissions() permissions for /home/getfitgo/public_html/
   wp-content/ewww/gifsicle: 0755 permissions ok ewww_image_optimizer_check_permissions()
   permissions for /home/getfitgo/public_html/wp-content/ewww/optipng: 0755 permissions
   ok ewww_image_optimizer_check_permissions() permissions for /home/getfitgo/public_html/
   wp-content/ewww/pngquant: 0755 permissions ok ewww_image_optimizer_check_permissions()
   permissions for /home/getfitgo/public_html/wp-content/ewww/cwebp: 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_path_check() ewww_image_optimizer_find_nix_binary()
   found /home/getfitgo/public_html/wp-content/ewww/gifsicle, testing… ewww_image_optimizer_md5check()/
   home/getfitgo/public_html/wp-content/ewww/gifsicle: 40ceed9c36838b5b9ccc505ab224d90f
   md5sum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype:/
   home/getfitgo/public_html/wp-content/ewww/gifsicle ewww_image_optimizer_find_nix_binary()
   ewww_image_optimizer_tool_found() testing case: f at file file: magic file from/
   etc/magic:/usr/share/misc/magic file binary found file command: /home/getfitgo/
   public_html/wp-content/ewww/gifsicle: ELF 32-bit LSB executable, Intel 80386,
   version 1 (SYSV), statically linked, for GNU/Linux 2.6.9, not stripped ewww_image_optimizer_tool_found()
   testing case: g at /home/getfitgo/public_html/wp-content/ewww/gifsicle /home/
   getfitgo/public_html/wp-content/ewww/gifsicle: LCDF Gifsicle 1.87 optimizer found
   using: /home/getfitgo/public_html/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: /home/getfitgo/
   public_html/ home url: [http://www.getfitgofigure.com](http://www.getfitgofigure.com)
   site url: [http://www.getfitgofigure.com](http://www.getfitgofigure.com) ewww_image_optimizer_savings()
   querying savings for single site query to be performed: SELECT SUM(orig_size-
   image_size) FROM wp_ware_ewwwio_images savings found: ewww_image_optimizer_cloud_verify()
   verification success via: [https://45.55.97.156](https://45.55.97.156) verification
   body contents: great ewww_image_optimizer_cloud_quota() quota data retrieved:
   0 -4756 0 ewww_image_optimizer_install_paths() CPU architecture: x86_64 generated
   paths: /home/getfitgo/public_html/wp-content/plugins/ewww-image-optimizer/binaries/
   jpegtran-linux64 /home/getfitgo/public_html/wp-content/plugins/ewww-image-optimizer/
   binaries/optipng-linux /home/getfitgo/public_html/wp-content/plugins/ewww-image-
   optimizer/binaries/gifsicle-linux /home/getfitgo/public_html/wp-content/plugins/
   ewww-image-optimizer/binaries/pngquant-linux /home/getfitgo/public_html/wp-content/
   plugins/ewww-image-optimizer/binaries/cwebp-linux864 /home/getfitgo/public_html/
   wp-content/ewww/jpegtran /home/getfitgo/public_html/wp-content/ewww/optipng /
   home/getfitgo/public_html/wp-content/ewww/gifsicle /home/getfitgo/public_html/
   wp-content/ewww/pngquant /home/getfitgo/public_html/wp-content/ewww/cwebp ewww_image_optimizer_tool_found()
   testing case: g at /home/getfitgo/public_html/wp-content/ewww/gifsicle /home/
   getfitgo/public_html/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.1.0 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: 1 XBM Support: 
   1 WebP Support: 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: sh: convert:
   command not found tool not found ewww_image_optimizer_tool_found() testing case:
   i at /usr/bin/convert /usr/bin/convert: sh: /usr/bin/convert: No such file or
   directory tool not found ewww_image_optimizer_tool_found() testing case: i at/
   usr/local/bin/convert /usr/local/bin/convert: sh: /usr/local/bin/convert: No 
   such file or directory tool not found ewww_image_optimizer_tool_found() testing
   case: i at /usr/gnu/bin/convert /usr/gnu/bin/convert: sh: /usr/gnu/bin/convert:
   No such file or directory tool not found ewww_image_optimizer_tool_found() testing
   case: i at /usr/syno/bin/convert /usr/syno/bin/convert: sh: /usr/syno/bin/convert:
   No such file or directory tool not found ewww_image_optimizer_find_nix_binary()
   ewww_image_optimizer_tool_found() testing case: f at file file: magic file from/
   etc/magic:/usr/share/misc/magic file binary found ewww_image_optimizer_find_nix_binary()
   ewww_image_optimizer_tool_found() testing case: n at nice nice: 0 nice found 
   cloud JPG: on cloud PNG: on PNG extra compress: off cloud GIF: off cloud fast
   lossy: on remove metadata: off lossy JPG: off lossy PNG: off bulk delay: 0 optipng
   level: 2 pngout level: 2 scheduled optimization: off deferred optimization: off
   disable auto-optimization: off include media library: off ewww_image_optimizer_get_image_sizes()
   Array ( [thumbnail] => Array ( [width] => 290 [height] => 290 ) [medium] => Array([
   width] => 560 [height] => 420 ) [large] => Array ( [width] => 940 [height] =>
   999999 ) [rss-image] => Array ( [width] => 200 [height] => 200 ) [shop_thumbnail]
   => Array ( [width] => 180 [height] => 180 ) [shop_catalog] => Array ( [width]
   => 290 [height] => 290 ) [shop_single] => Array ( [width] => 560 [height] => 
   420 ) ) disabled resizes: thumbnail: optimization=enabled creation=enabled medium:
   optimization=enabled creation=enabled large: optimization=enabled creation=enabled
   rss-image: optimization=enabled creation=enabled shop_thumbnail: optimization
   =enabled creation=enabled shop_catalog: optimization=enabled creation=enabled
   shop_single: 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 jpegtran
   disabled: no optipng disabled: no pngout disabled: yes gifsicle disabled: no 
   webp conversion: off alt webp rewriting: off jpg2png: off ewww_image_optimizer_jpg_background()
   ewww_image_optimizer_jpg_background() ewww_image_optimizer_jpg_quality() png2jpg:
   off gif2png: on max_execution_time: 60
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102405)
 * There is one other possibility, and that would be if your webhost is rate-limiting
   the ajax requests. Can you please send me an admin login via [https://ewww.io/contact-us/](https://ewww.io/contact-us/)
   so I can take a look to see what sort of error we’re getting in the console?
 *  Thread Starter [Getfitgofigure](https://wordpress.org/support/users/getfitgofigure/)
 * (@getfitgofigure)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102406)
 * admin to wordpress or bluehost
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102407)
 * just to wordpress, shouldn’t be any need for the bluehost configs at this point
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102418)
 * Ah, I see the problem now. You have a ton of rather large PNG files on your site
   that should be JPGs instead. The one it is stalling on right now is 741kb, and
   that is rather large in the world of PNG files. The fix would be to up the execution
   time rather high, 300+ ought to do it.
 * However, a quick check in the logs for squatting-2.png shows that it is only 
   making it through the original image and a few resizes though before it gets 
   cut off, so I think there is something else causing timeouts besides php. Watching
   the javascript console confirms this, as it returns the error response in about
   40 seconds. Also, the raw response looks like this (which is not a standard apache/
   php error page as far as I know):
 *     ```
       <!-- SHTML Wrapper - 500 Server Error -->
       [an error occurred while processing this directive]
       ```
   
 * So, I there are two options here. First, you could convert a bunch of those images
   to JPG, but you’ll need to disable all PNG processing when you do those (and 
   I would do them one by one). Anything that is photographic in nature, is going
   to be better as a JPG. EWWW can only search the wp_posts table to update urls,
   so take your time, and make sure you know where an image is found so you can 
   check to see if it the url was updated properly.
    The second would be to check
   with Bluehost to see how you can get rid of those timeouts, and just optimize
   the images “as is”.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Bulk optimization keeps stalling’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

## Tags

 * [Bulk Optimize](https://wordpress.org/support/topic-tag/bulk-optimize/)
 * [interruption](https://wordpress.org/support/topic-tag/interruption/)

 * 14 replies
 * 2 participants
 * Last reply from: [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/bulk-optimization-keeps-stalling/#post-7102418)
 * Status: resolved