Title: Can not optimize
Last modified: September 1, 2018

---

# Can not optimize

 *  [jalop123j](https://wordpress.org/support/users/jalop123j/)
 * (@jalop123j)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/can-not-optimize/)
 * Hi, I started using the plugin 3 days ago, bulk optimizing stopped working 26
   hours ago.
 * It stucks while examining attachements.
    It works if I optimize image individually.
 * Plugin optimization is pretty good, I would appreciate your help. thank you.
 * Error logs:
    [Sat Sep 01 09:32:39.021710 2018] [:warn] [pid 28074] [client 174.92.82.248:
   50798] Timeout waiting for output from CGI script /home/orem5338/public_html/
   wp-admin/admin-ajax.php, referer: [https://orem.com.mx/wp-admin/upload.php?page=resmushit_options](https://orem.com.mx/wp-admin/upload.php?page=resmushit_options)[
   Sat Sep 01 09:32:08.991753 2018] [:warn] [pid 28074] [client 174.92.82.248:50798]
   Timeout waiting for output from CGI script /home/orem5338/public_html/wp-admin/
   admin-ajax.php, referer: [https://orem.com.mx/wp-admin/upload.php?page=resmushit_options](https://orem.com.mx/wp-admin/upload.php?page=resmushit_options)[
   Sat Sep 01 09:26:28.441739 2018] [:warn] [pid 2579] [client 174.92.82.248:56352]
   Timeout waiting for output from CGI script /home/orem5338/public_html/wp-admin/
   admin-ajax.php, referer: [https://orem.com.mx/wp-admin/upload.php?page=resmushit_options](https://orem.com.mx/wp-admin/upload.php?page=resmushit_options)[
   Sat Sep 01 09:25:58.411755 2018] [:warn] [pid 2579] [client 174.92.82.248:56352]
   Timeout waiting for output from CGI script /home/orem5338/public_html/wp-admin/
   admin-ajax.php, referer: [https://orem.com.mx/wp-admin/upload.php?page=resmushit_options](https://orem.com.mx/wp-admin/upload.php?page=resmushit_options)[
   Sat Sep 01 09:20:27.817745 2018] [:warn] [pid 15351] [client 174.92.82.248:35296]
   Timeout waiting for output from CGI script /home/orem5338/public_html/wp-admin/
   admin-ajax.php, referer: [https://orem.com.mx/wp-admin/upload.php?page=resmushit_options](https://orem.com.mx/wp-admin/upload.php?page=resmushit_options)[
   Sat Sep 01 09:19:57.787719 2018] [:warn] [pid 15351] [client 174.92.82.248:35296]
   Timeout waiting for output from CGI script /home/orem5338/public_html/wp-admin/
   admin-ajax.php, referer: [https://orem.com.mx/wp-admin/upload.php?page=resmushit_options](https://orem.com.mx/wp-admin/upload.php?page=resmushit_options)[
   Sat Sep 01 08:48:48.979599 2018] [autoindex:error] [pid 51892] [client 52.90.67.231:
   51150] AH01276: Cannot serve directory /home/orem5338/public_html/dev/: No matching
   DirectoryIndex (index.html,Index.html,index.shtml,index.php,Index.php,index.phtml,
   Index.phtml,index.htm,Index.htm,default.htm,Default.htm,default.html,Default.
   html,home.htm,Home.htm) found, and server-generated directory index forbidden
   by Options directive
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcan-not-optimize%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [jalop123j](https://wordpress.org/support/users/jalop123j/)
 * (@jalop123j)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/can-not-optimize/#post-10646512)
 * Steps:
    1. CLick on optimize all 2. Message shows: OPTIMIZE UNSMUSHED PICTURES
   There is currently 710 non optimized pictures. This action will resmush all pictures
   which have not been optimized to the good Image Quality Rate.
 * Examining existing attachments. This may take a few moments…
 * 3.After about 40 seconds, chrome console shows:
    load-scripts.php?c=1&load[]=
   jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-
   ui-resizable,utils,jquery-ui-sortable&ver=4.9.8:4 POST [https://orem.com.mx/wp-admin/admin-ajax.php](https://orem.com.mx/wp-admin/admin-ajax.php)
   504 ()
 *  Thread Starter [jalop123j](https://wordpress.org/support/users/jalop123j/)
 * (@jalop123j)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/can-not-optimize/#post-10646557)
 * I tried like 15 times and then it seemed to work, progress bar appeared started
   to optimize, but stocked again in 4% with same HTTP 504 error, refreshed the 
   page and now appears 681 images left to optimize (Before was 710).
 * Try 1 more time, it stucked on 1% and optimized 6 images, after refresh it shows
   675 left.
 *  [cocoamedia](https://wordpress.org/support/users/cocoamedia/)
 * (@cocoamedia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/can-not-optimize/#post-10706321)
 * I’m having the same issue.. did you manage to resolve it?
 * Thanks
 * Dave
 *  Plugin Contributor [reSmush.it](https://wordpress.org/support/users/resmushit/)
 * (@resmushit)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/can-not-optimize/#post-10715531)
 * Hi guys,
 * The process to optimize in bulk may have some issues, but we’re working on it
   to enhance the experience, especially when there’s a lot of pictures.
 * Meanwhile, you if you launch it several time, you’ll be able to complete the 
   process.
 * Cheers,
    Charles
 *  Anonymous User 853254
 * (@anonymized-853254)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/can-not-optimize/#post-10780666)
 * Hi
 * I have issue with resmushit plugin too. Although I click, optimize All, when 
   it is finished, the same nuber of images not optimized remains at 835!
 * This has been a problem since I had the plugin installed. It never optimizes 
   all images even though select all.
 * Now I have memory issues as the images are not being smushed.
 * Whe will this be fixed? Or anyone got a better image optimizing plugn suggestion?
 * Thanks

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

The topic ‘Can not optimize’ is closed to new replies.

 * ![](https://ps.w.org/resmushit-image-optimizer/assets/icon-256x256.png?rev=3049668)
 * [reSmush.it : The original free image compressor and optimizer plugin](https://wordpress.org/plugins/resmushit-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/resmushit-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/resmushit-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/resmushit-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/resmushit-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/resmushit-image-optimizer/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: Anonymous User 853254
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/can-not-optimize/#post-10780666)
 * Status: not resolved