[wp-trac] [WordPress Trac] #50250: In WordPress 5x, Image uploads frequently fail, and do so with a spurious error message

WordPress Trac noreply at wordpress.org
Tue May 26 00:19:33 UTC 2020


#50250: In WordPress 5x, Image uploads frequently fail, and do so with a spurious
error message
-----------------------------+-----------------------------
 Reporter:  toomanyairmiles  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  major            |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 I run my own dedicated server, a dual processor Xeon with 128GB of ram.

 When uploading batches of images for sites I'm working on I frequently
 find one or two images fail with the message 'Post-processing of the image
 likely failed because the server is busy or does not have enough
 resources. Uploading a smaller image may help. Suggested maximum size is
 2500 pixels.' I have numerous reports from my userbase of the same issue.

 - The images that fail are far smaller than the error message suggests
 would cause an issue. For example my currently problematic image is 1621 x
 1000 and a svelte 292kb.

 - Imagick 3.3.4 is installed

 - Rebooting the server does not make the issue go away.

 - There is no issue with resources on the server or resources available to
 the wordpresses, they all have 512 MB assigned, which should be more than
 enough.

 - Occasionally reuploading the image solves the problem, but this is rare
 - I've currently been stuck for an hour trying to get one single image
 into a slider.

 - Saving the image as a different kind of JPEG i.e. baseline optimized
 rather than progressive sometimes seems to work (I suspect this isn't
 meaningful or indicative of the issue though).

 The wider point is this is preposterous, I'm currently trying to upload 15
 identically sized, identically produced, images and one single file keeps
 failing for no fathomable reason.

 There is another bug report discussing the content of the message being
 inaccurate, which it clearly is, but as a wordpress dev/admin I'm
 encountering this issue multiple times a day and there does not appear to
 be a rational reason for its occurrence or any reasonable steps a user can
 take to solve it on their own.

 Frankly wordpress 5x seems to dislike certain images for no reason at all.

 For the avoidance of doubt this ticket is not about the language of the
 error message (useless and wrong as it clearly is) it's about the problem
 that causes it to occur.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50250>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list