You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to version 5.36.0, my Laravel Horizon started unexpectedly reporting unfinished tasks with the message HandleEntrySchedule has timed out. Additionally, I noticed a significant increase in system resource (CPU) usage in the artisan horizon:work process.
I suspect the origin of this issue might be related to PR: #10966.
How to reproduce
running artisan horizon
updating content using Statamic CP
Exception
Illuminate\Queue\TimeoutExceededException: Statamic\Jobs\HandleEntrySchedule has timed out. in /laravel/framework/src/Illuminate/Queue/TimeoutExceededException.php:15
--
Stack trace:
#0 /Illuminate/Queue/Worker.php(803): Illuminate\Queue\TimeoutExceededException::forJob()
#1 /Illuminate/Queue/Worker.php(218): Illuminate\Queue\Worker->timeoutExceededException()
#2 /Illuminate/Cache/MemcachedStore.php(59): Illuminate\Queue\Worker->Illuminate\Queue\{closure}()
@duncanmcclean We have around 2,600 items, and all of them need to be multiplied by 4 language variations. The pages contain a large number of images.
However, I changed the cache_driver type from memcached to redis, and this issue no longer occurs. At the same time, I am noticing a significant improvement in page loading speed when the pages are reloaded after clearing the cache.
If anyone else runs into this in the future, it might be worth playing around with the timeout setting on your queue workers, especially if you have lots of entries.
Bug description
After updating to version 5.36.0, my Laravel Horizon started unexpectedly reporting unfinished tasks with the message HandleEntrySchedule has timed out. Additionally, I noticed a significant increase in system resource (CPU) usage in the
artisan horizon:work process
.I suspect the origin of this issue might be related to PR: #10966.
How to reproduce
artisan horizon
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: