con / duct

A helper to run a command, capture stdout/stderr and details about running
https://pypi.org/project/con-duct/
MIT License
3 stars 2 forks source link

Add threshold options to kill child if goes awry #215

Open yarikoptic opened 3 weeks ago

yarikoptic commented 3 weeks ago

Inspired by

where child process can really get out of hands and consume too much, causing linux to start killing other processes instead of the abuser (unlikely but possible). Since we are monitoring anyways, I wonder if we should add facility to kill child process (and kids) upon

somewhat relates (likely in implementation):

but also likely there is already a tool for that, so we might just want to "pair it up" one way or another.