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