[wp-trac] [WordPress Trac] #58202: php-fpm7.4: time limit exceeded `Operation canceled' @ fatal/cache.c/GetImagePixelCache/1868.
WordPress Trac
noreply at wordpress.org
Mon Jul 3 18:41:06 UTC 2023
#58202: php-fpm7.4: time limit exceeded `Operation canceled' @
fatal/cache.c/GetImagePixelCache/1868.
-------------------------------------+-----------------------
Reporter: dsar | Owner: antpb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.2.3
Component: Media | Version: 6.2
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-patch | Focuses:
-------------------------------------+-----------------------
Changes (by azaozz):
* keywords: => 2nd-opinion needs-patch
Comment:
Replying to [comment:16 soulseekah]:
> One solution would be to call `set_imagick_time_limit()` on all
WordPress requests but only once per request, and regardless of the
context as to constantly reset the internal ImageMagick timer.
This sounds reasonable but as @densityapps explains, it may not fix this
everywhere. Also seems the default processing time limit is "infinity",
see:
https://github.com/ImageMagick/ImageMagick/blob/a8de149e1aca79836319b31c8881537115e478ff/MagickCore/resource.c#L1283C70-L1283C70.
Not sure WP should be changing that :)
> Another solution would be to revert the patch
Yes, agree with @densityapps that seems best. Adding the "second opinion"
keyword in case somebody else wants to chime in. If not will look at
reverting [55404] in few days.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58202#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list