[wp-meta] [Making WordPress.org] #6142: Photo Upload Fails
Making WordPress.org
noreply at wordpress.org
Thu Aug 18 03:26:46 UTC 2022
#6142: Photo Upload Fails
------------------------------+---------------------
Reporter: MarkvanJaarsveld | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Photo Directory | Resolution:
Keywords: |
------------------------------+---------------------
Comment (by dd32):
There's been an uptick in reports in the last month of this, I suspect
this might be related to the fact that we generate the resized versions of
the images, and as of #core55443 also webp images. That corresponds with
the OOM fatals being during image-save [https://github.com/WordPress
/wordpress-develop/blob/trunk/src/wp-includes/class-wp-image-
editor.php#L601 class-wp-image-editor.php:601].
To take https://wordpress.org/photos/photo/33462fcf29/ for example, the
following files were generated:
{{{
33462fcf296c37071.52699659-300x225.jpg
33462fcf296c37071.52699659-300x225-jpg.webp
33462fcf296c37071.52699659-1024x768.jpg
33462fcf296c37071.52699659-1024x768-jpg.webp
33462fcf296c37071.52699659-150x150.jpg
33462fcf296c37071.52699659-150x150-jpg.webp
33462fcf296c37071.52699659-768x576.jpg
33462fcf296c37071.52699659-768x576-jpg.webp
33462fcf296c37071.52699659-1536x1152.jpg
33462fcf296c37071.52699659-2048x1536.jpg
33462fcf296c37071.52699659.jpg
33462fcf296c37071.52699659-jpg.webp
}}}
although some images, such as
https://wordpress.org/photos/photo/91462f0d89/ don't generate any resized
variants / webp's - the thumbnails (including original, and 2x in the
srcset) and singular view all use the full size image.
(Both of the above images were uploaded within the last 24hrs)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6142#comment:10>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list