-
Laravel Horizon Supervisor Inconsistently Going OfflineVersions:
Environment: Problem: Upon investigating, I checked the horizon routes specifically I have checked supervisor logs and ECS container logs but did not find anything unusual.
Supervisor Configuration: 'defaults' => [
'supervisor-1' => [
'connection' => 'redis',
'balance' => 'simple',
'queue' => ['default'],
'maxTime' => 3600,
'maxJobs' => 1000,
'minProcesses' => 5,
'maxProcesses' => 10,
'memory' => 32,
'tries' => 1,
'balanceMaxShift' => 5,
'balanceCooldown' => 3
],
], |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I solved the issue. The problem was caused by the memory allocation for supervisor-1, which was set to 32MB, while the other supervisors had 64MB allocated. When I increased the memory to 64MB, it worked fine. I am just surprised that Laravel did not provide any logs regarding the supervisor crashing in the Horizon logs. |
Beta Was this translation helpful? Give feedback.
I solved the issue. The problem was caused by the memory allocation for supervisor-1, which was set to 32MB, while the other supervisors had 64MB allocated. When I increased the memory to 64MB, it worked fine. I am just surprised that Laravel did not provide any logs regarding the supervisor crashing in the Horizon logs.