Category : horizon

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), ..

Read more

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 ..

Read more

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’ ..

Read more

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 ..

Read more

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 ..

Read more

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 ..

Read more

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 ..

Read more

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), ..

Read more