Guides
supervisord guides
How to run common programs under supervisord (Supervisor), and how to fix the errors people search for most. Each guide works with plain config files and supervisorctl, so you can follow it without Visor. Its last section shows the same job in Visor.
Why these guides
The docs explain Visor. These pages explain supervisord itself, and the parts of it that catch people out: a socket that isn’t there, a program that won’t stay up, a PATH with no PHP on it. Each one starts from what you see on your screen and ends with a setup that works. The error messages, settings and paths in them were checked against supervisord 4.2.5 and the Homebrew and Linux packages.
Who they’re for
Developers who run queue workers and other long-running programs under supervisord, such as Laravel queues and Horizon or Celery, on a Mac or on a Linux server. New to supervisord? Start with the guide for your framework. Something broken? Start with the error.
The guides
Pick the one for your framework or the error you see.
- Every supervisord option, explainedEach program setting, its default, and what changes when you change it.For: Anyone writing a supervisord program file, Laravel developers first.
- Laravel Horizon on a MacHorizon, queue workers and the scheduler under Homebrew’s supervisord.For: Laravel developers running queues on their own Mac.
- supervisor.sock: no such filesupervisorctl can’t reach supervisord: no such file and refused connection.For: Anyone whose supervisorctl can’t reach supervisord.
- FATAL Exited too quicklyWhy a program goes BACKOFF, then FATAL, and how to find the cause.For: Anyone with a program that supervisord won’t keep running.
- Celery under supervisordA Celery worker and beat, with clean stops and a single beat.For: Python developers running Celery on a server.