I’m running queues with horizon. Recently the process is crashing and closing the job. Here is the error log: SymfonyComponentDebugExceptionFatalErrorException : Uncaught SymfonyComponentProcessExceptionLogicException: Output has been disabled. in /home/forge/services.liabigdata.com.br/vendor/symfony/process/Process.php:1412 Stack trace: #0 /home/forge/services.liabigdata.com.br/vendor/symfony/process/Process.php(624): SymfonyComponentProcessProcess->readPipesForOutput(‘getIterator’, false) #1 /home/forge/services.liabigdata.com.br/vendor/rollbar/rollbar/src/Utilities.php(102): SymfonyComponentProcessProcess->getIterator() #2 /home/forge/services.liabigdata.com.br/vendor/rollbar/rollbar/src/Utilities.php(159): RollbarUtilities::serializeForRollbar(Object(SymfonyComponentProcessProcess), NULL, Array, -1, 7) #3 /home/forge/services.liabigdata.com.br/vendor/rollbar/rollbar/src/Utilities.php(105): RollbarUtilities::serializeObject(Object(SymfonyComponentProcessProcess), NULL, Array, -1, 6) #4 /home/forge/services.liabigdata.com.br/vendor/rollbar/rollbar/src/Utilities.php(159): RollbarUtilities::serializeForRollbar(Object(LaravelHorizonWorkerProcess), ..
In a simplified way I have JOB 1 that writes a value in the session and JOB 2 that should read the value. Using the queue: work it works perfectly, however when installing the Horizon laravel with a supervisor it always gives an error because JOB 2 does not find the value in the session. ..
By default laravel/horizon is starting maxProcesses on initial start. In our environment the new queue is empty until we activate it, so we would prefer an initial boot with the number of minProcesses to reduce the resource usage. Is it possible to configure horizon like this ? Or does anyone know how to achieve this ..
I am using Elastic Beanstalk to configure my web app. I’ve used this configuration (.ebextensions/00_supervisor.config): files: /etc/supervisord.conf: mode: "000755" owner: root group: root content: | [unix_http_server] file=/tmp/supervisor.sock ; (the path to the socket file) [supervisord] logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log) logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB) logfile_backups=10 ; (num of main ..
My mailable jobs are getting stuck in paused state. I have tried every configuration. Even trying with simple text emails, nothing fancy. Following is my Horizon configuration: ‘local’ => [ ‘supervisor-1’ => [ ‘connection’ => ‘redis’, ‘queue’ => [‘default’, ‘registration’, ‘user-password’, ‘task-queue’, ‘program-group’, ‘program’, ‘program-donor’, ‘other-mails’, ‘client-verification’, ‘milestones’], ‘balance’ => ‘auto’, ‘delay’ => 10, ‘maxProcesses’ ..
My horizon suddenly doesn’t ask me for basic authentication credentials anymore, and shows 401 Unauthorized page. I tried to clear browser cache, and still no change. Sourc..
I have a Laravel app that does video processing. I am currently doing the encoding in the same server. Now, I want to create 3 more servers to do the "encoding" in parallel in multiple servers. Is this possible multiple servers doing the same queue? — Server 1 My App — — Server 2 — ..
I am running Laravel 8, horizon 5.4 After I initiate the job, it processes successfully as it should, but in the Horizon dashboard it stays pending list, it does not move to the completed or failed list, after timeout(60 minutes) it disappears from the pending list. Horizon Dashboard (Pending List) Horizon process status from terminal ..
I have a Laravel Horizon supervisor config that maintains a single process. However, I can’t get this process to run only one job at a time. The config for this ‘long-running-supervisor’ => [ ‘connection’ => ‘redis-long-running’, ‘queue’ => [‘default_long’], ‘balance’ => ‘simple’, ‘processes’ => 1, ‘tries’ => 1, ‘timeout’ => 720 ], However this one ..
I wrote new schedule and pulled it to test server and it works perfectly, BUT when I pulled it to production it does not work. I watched metrics in laravel-horizon and there was not new Job. So I decided that I had a bit processes therefor I changed my horizon.php processes from 3 to 5, ..
I am using redis queue driver to run the jobs. Half of the jobs get failed to process. How to ensure that all the jobs get processed without failing. I have ensured that there is no any issue on code level. I have also setup the Laravel Horizon to monitor the jobs queues. Screenshot below. ..
My application use redis which is installed on different server. where to install horizon supervisor on redis server or application server? Sourc..
I am using horizon with laravel 5.8. By setting Horizon::routeMailNotificationsTo(‘[email protected]’) in the HorizonServiceProvider i am able to revieve the standard notification when the defined queue limit is reached. How to change that email template without editing files in the vendor/laravel/horizon/src/notifications directory? Can i define a "listen" variable like in EventServiceProvider to listen to the LongWaitDetected-event ..
I’m using Windows operating system. I’ve also tried with these solutions available here: link 1) PHP pcntl module installation link 2) How to install PCNTL extension in Windows? ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem ..
I have a Debian 10 server with Laravel 5.8. This is the redis configuration in config/database.php: ‘redis’ => [ ‘client’ => ‘predis’, ‘default’ => [ ‘host’ => env(‘REDIS_HOST’, ‘localhost’), ‘password’ => env(‘REDIS_PASSWORD’, null), ‘port’ => env(‘REDIS_PORT’, 6379), ‘database’ => 0, ‘read_write_timeout’ => 60, ], ‘cache’ => [ ‘host’ => env(‘REDIS_HOST’, ‘127.0.0.1’), ‘password’ => env(‘REDIS_PASSWORD’, null), ..