I'm reading documentation on supervisor, and it quotes:
It’s often difficult to get accurate up/down status on processes on UNIX. Pidfiles often lie. Supervisord starts processes as subprocesses, so it always knows the true up/down status of its children and can be queried conveniently for this data.
- Couldn't the status of a process be retrieved simply by ps? (or is the problem here that the user querying the status of process shouldn't necessarily have full access to ps)
- What are the problems with pid files (eg: do services often leave the pid file behind when they crash)?