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
-
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
simple
balancing toauto
.Our
horizon.php
config looks like this (only the part of the supervisors):In our

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

balanceCooldown
of 3 seconds. See the screenshot below:We'd expect that Horizon would auto scale the processes from the
default
queue to thedispatchers
queue. 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 thedefault
queue.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