hung_task_timeout_secs

file: /proc/sys/kernel/hung_task_timeout_secs
variable: kernel.hung_task_timeout_secs
Official reference

Check interval. When a task in D state did not get scheduled for more than this value report a warning. This file shows up if CONFIG_DETECT_HUNG_TASK is enabled.

0: means infinite timeout - no checking done. Possible values to set are in range {0..LONG_MAX/HZ}.

source