Watchdog wrapper for s6

From: Alex Kiernan <alex.kiernan_at_gmail.com>
Date: Sat, 20 Nov 2021 17:00:46 +0000

I have a problem process that's getting stuck somewhere in its network
code (clearly the right answer is to find/fix the problem, but it's
infrequent and we're up against time constraints...)

I'm looking at just adding a wrapper around it which does something
along the lines of the existing s6 notification - have the supervised
process write a regular character to an inherited fd, if it ever stops
then the wrapper kills everyone and exits allowing the supervision to
restart it.

My google-fu has failed to turn up anything which does this, am I just
failing to craft the right query, or is this just a mad/bad idea? Or
does anyone have a pointer?

-- 
Alex Kiernan
Received on Sat Nov 20 2021 - 18:00:46 CET

This archive was generated by hypermail 2.4.0 : Sat Nov 20 2021 - 18:01:36 CET