horizon: Horizon not detecting dead supervisor process

  • Horizon Version: 1.4.3
  • Laravel Version: 5.6.39
  • PHP Version: 7.2.17
  • Redis Driver & Version: predis/predis 1.1.1
  • Database Driver & Version: MySQL 5.7

Description:

It looks like Horizon is not detecting if supervisor processes are killed and this results in no worker processes running.

I am not sure if this is intended behavior or a bug, but it is really an issue for me. For example supervisor processes can die when the OS has a low max file descriptor setting, which is obviously a different issue, but it would be great if horizon could handle this case too.

I am now considering to switching back to regular Laravel workers, as this is not an issue when you are using supervisord to supervise the workers.

Steps To Reproduce:

  1. Start horizon: php artisan horizon
  2. Get process ID of the supervisor process: ps aux | grep horizon:supervisor
  3. Kill process with any signal: kill PID

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Hey there,

Unfortunately we don’t support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? We’ll help you out and re-open this issue if so.

Thanks!