Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ChrisSFR's avatar

Laravel Horzin Job stucks

Hey there, I have a problem with our Laravel Horizon Setup.

My jobs are stucked in the Queue, after a while a failed job pops up and for the runtime column it is saying: 1573472393.73s (the horizon timeout is set to 60 seconds. So why the job is running 1573472393.73s This causes to a complete stuck for the Queue . Restarting or destroying and recreating the daemon fixes this until the next job will be stucked . Any help? Since I set the timeout to 60 seconds, I assume that the job only runs for a maximum of 60 seconds and then aborts. Then why is the runtime 1573472393.73s? iny my redis settings the retry_after value is 90 seconds so retry_after is bigger than the timeout.

I deploy with Envoyer and Forge.

Foreach deployment I have a hook which purges and terminates horizon.

This behavior is only for one Queue. The other queues are working:

'production' => [
            'supervisor-1' => [
                'connection' => 'redis',
                'queue' => ['default', 'magento', 'relay', 'hive', 'apc', 'amazon', 'accounting'],
                'balance' => 'simple',
                'processes' => 10,
                'tries' => 1,
            ],

At forge I have setup a daemon like it's described here https://medium.com/@driesvints/laravel-horizon-with-forge-and-envoyer-82a7e819d69f

0 likes
0 replies

Please or to participate in this conversation.