5

Thoughts? I'm running Ubuntu 10.0.4

10

I would suggest the use of supervisord. In my experience, it is friendlier and generally a smoother experience than runit or the venerable daemontools. Upstart is designed to replace the equally-venerable init process, while supervisord is specifically for managing things like WSGI, FastCGI, and the like. It is also pretty well-documented.

Because it is targeted at these types of scenarios, supervisord provides facilities for starting a specific number of processes, retry limits, custom signals, and various other useful bits (it even includes an XML-RPC interface.) Upstart provides the ability to interface with DBus, but this is unlikely in your scenario.

| improve this answer | |
  • any idea how well it works on CentOS? – Cyclops Jun 4 '11 at 0:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.