Replies: 2 comments 1 reply
-
|
Is this happening after a deploy? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I've created laravel/horizon#1539 for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We are having an issue with our horizon queues.
We are running PHP 8.4.2 with Horizon 5.30.2
We've recently switched from
simplebalancing toauto.Our
horizon.phpconfig looks like this (only the part of the supervisors):In our

.envwe've adjustedHORIZON_SYNC_POOL_PROCESSESto 21.Some of the times we see that all processes keep "hanging" on a queue with 0 jobs pending. Even after the

balanceCooldownof 3 seconds. See the screenshot below:We'd expect that Horizon would auto scale the processes from the
defaultqueue to thedispatchersqueue. Since there are a lots of jobs pending there. After some time it would automatically begin to move processes, this seems to be happening when there are lots of jobs scheduled in thedefaultqueue.The same issue is happening when there are no pending jobs. The processes are still there on some queues while nothing is pending. It is also not happening all the time. When we restart Horizon the issue is gone for some time and then returns.
How could we overcome this issue?
Beta Was this translation helpful? Give feedback.
All reactions