Process supervision
Process supervision is a type of operating system service management in which some master process remains the parent of the service processes.
Benefits
Benefits compared to traditional process launchers and system boot mechanisms, like System V init, include:- Ability to restart services which have failed
- The fact that it does not require the use of "pidfiles"
- Clean process state
- Reliable logging, because the master process can capture the stdout/stderr of the service process and route it to a log
- Faster and ability to start up and stop
Implementations
- daemontools
- : Derived from the public-domain release of daemontools
- : A Ruby implementation
- : Fast, Extensible Init for Linux Systems
- : A Ruby implementation
- : A Go implementation
- PM2: A Process Manager for Node.js
- Initng
- launchd
- : A small, yet feature-complete Linux init
- Monit
- runit
- : A Python implementation
- : Low-level process and service supervision
- Systemd