News for hackers. Stuff that matters.
Re:Outage Stories: The copy and paste outage by justinsaccount on Sunday August 14, 2022 @11:35AM (#32460107)
> And the way this system detected a process failure was to search the process list for a matching process. If we run the command super-ha-proxy..., and then it's in the process list, the process is working. If it's not in the process list, it must have crashed, exited, etc. and we need to launch a new instance.

> The supervisor script just starts detecting the old process, and has no idea that the additional instance has been launched

The number of times I've seen outages and weird flaky problems from some shitty script trying (and failing) to parse ps output...

daemontools, runit, s6, systemd, etc all solve this problem properly.

There are no comments on this comment yet.