Watchdog Action that kills a stuck thread to kill the process.¶
Warning
This API is work-in-progress and is subject to breaking changes.
watchdog.v3alpha.AbortActionConfig¶
[watchdog.v3alpha.AbortActionConfig proto]
A GuardDogAction that will terminate the process by killing the stuck thread. This would allow easier access to the call stack of the stuck thread since we would run signal handlers on that thread. By default this will be registered to run as the last watchdog action on KILL and MULTIKILL events if those are enabled.
{
"wait_duration": "{...}"
}
- wait_duration
(Duration) How long to wait for the thread to respond to the thread kill function before killing the process from this action. This is a blocking action. By default this is 5 seconds.