Updated on 2024-06-03 GMT+08:00

ai_watchdog_ftask_status

Table 1 ai_watchdog_ftask_status parameters

Parameter

Type

Description

name

text

Name of the watchdog feeding task.

timeout_threshold

int

Timeout threshold of the watchdog feeding task.

register_time

timestamp

Registration time of the watchdog feeding task.

thread_id

bigint

ID of the thread on which the watchdog feeding task is used.

thread_name

text

Name of the thread on which the watchdog feeding task is used.

last_feed

timestamp

Latest time when the watchdog is fed. The default initial value is register_time.

restart_count

int

Number of times that the same name of watchdog feeding task is repeatedly registered due to the same backend thread exception. This parameter is cleared after the task invokes the interface for canceling watchdog resetting task registration.

timeout_action

text

Timeout processing action specified during task registration. Currently, the following actions are provided:

  • WATCHDOG_REPORT_WARNING: Prompt the timeout locating and demarcation.
  • WATCHDOG_SEND_SIGTERM: Send SIGTERM signals to threads.
  • WATCHDOG_SEND_SIGUSR2: Send SIGUSR2 signals to threads.
  • WATCHDOG_SEND_SIGQUIT: Send SIGQUIT signals to threads.
  • WATCHDOG_EXIT_PROCESS: Exit the process.