This document provides an overview of Supervisor, an open source process control system for UNIX. It discusses key features like convenience, delegation, and distributed control. It also covers installation, configuration, running Supervisor via command line or web interface, process states, logging, XML-RPC, event notifications, and related tools. Resources for further information are provided at the end.
4. Installation and Configuration
• virtualenv!
• Installation via setuptools
• Configuration File Details
• Overview of the major sections
• Group Processes
sixfeetup.com
14. Questions?
Thank you!
nowhere to go but
open source
s i xf e e tu p . c om
Notes de l'éditeur
Pure Python
Simple, centralized, efficient, extensible, compatible, proven
Maintainable Software - Mike
Agendaless - Chris
Accuracy
supervisord
supervisorctl
tail -f (stderr)
utilize the supervisor namespace
supports XML-RPC multicall API - encapsulate multiple calls to a remote server into a single request
stop processes, reload config
close and re-open log files, rotate log files
manages complete lifetime of child processes
can't daemonize
for daemons that can't
stdout
Supervisor Cache can prevent the synchronization headaches you might have using the filesystem or a database to accomplish the same task
manipulated in ways that are not normally possible at runtime.
need to mention superlance
Supervisor sends specially-formatted input to an event listener process' stdin and stdout
supervisor maintains state of event listeners, busy, ready, acknowleged
starting, running, backoff, stopping, exited, stopped, fatal, unknown
stdout, stderr
watches for tags in process output, stdout and stderr
running, stopping
5, 60, 3600
event listeners can be in any lang, but supervisor contains a support lib to make this easy.
need to mention superlance
Supervisor sends specially-formatted input to an event listener process' stdin and stdout
supervisor maintains state of event listeners, busy, ready, acknowleged
starting, running, backoff, stopping, exited, stopped, fatal, unknown
stdout, stderr
watches for tags in process output, stdout and stderr
running, stopping
5, 60, 3600
event listeners can be in any lang, but supervisor contains a support lib to make this easy.