Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I see a lot of people using monit in combination with runit. Isn't that redundant? What is the point of using runit as well? Is it because it's more reliable when dealing with services (as it doesn't rely on pidfiles)?

Thanks!

share|improve this question

1 Answer 1

I'd never heard of runit, yet I'm a heavy Monit user...

Looking at runit, I see that it's an init replacement. I'd argue that most enterprise systems stick with their default Sys V init or Upstart. I don't think it's a common practice to change it.

However, the relationship here may be that runit provides a convenient way of spawning Monit and making sure it remains running. Perhaps similar to running Monit from inittab. It's essentially "watching the watcher" or monitoring your monitoring system.

In practice, I use Monit as a daemon and have not had any issues with it crashing or being killed. Maybe the appeal of runit is that it offers some additional protection.

As for Monit, it functions well with process name pattern matching instead of PID files.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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