by rubyrescue · 13y ago · 0 comments
If you use monit without runit, you end up in this weird world where monit starts and stops things in a very odd environment and it's flakier, environment variables are missing, etc. Also monit takes a long time to notice things are down, and doesn't start things right away on boot.
Finally if you don't boot your services with monit, you booted them with something else meaning that when a restart occurs, you're starting a service in a different environment than you booted in. weird.
so, let monit check health of things, let runit start and stop things.
which server (mongrel, thin, etc) do you recommend for playing nice with runit - which the OP mentioned has a problem with fork.