Re: runit and "sv check" for dependencies

From: Colin Booth <cathexis_at_gmail.com>
Date: Fri, 16 Jan 2015 10:04:25 -0800

On Jan 16, 2015 8:43 AM, "Charlie Brady" <
charlieb-supervision_at_budge.apana.org.au> wrote:
>
>
> On Fri, 16 Jan 2015, Wayne Marshall wrote:
>
> > Your assertion sounds scary and foreboding in theory, but is not an
> > issue in practice.
>
> You've never had a system crawl when some process is being restarted every
> second? For example, apache?
>
Spawning apache every second totally hammers low-power systems. The
important thing here is to have the postgres checker bail the run script
_before_ starting apache so if postgres isn't up and ready, you only incur
the hit of rerunning a few lines of shell and a light-weight check program,
not spooling up a web server.

Cheers!
Received on Fri Jan 16 2015 - 18:04:25 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC