Unable to disable the kernel watchdog threads in RHEL 8 even after disabling all watchdog sysctl kernel parameters

Solution Verified - Updated -

Issue

Unable to disable the kernel watchdog threads in RHEL 8 even after disabling all watchdog sysctl kernel parameters
Where as in RHEL 9 there is no such kernel watchdog threads are showing

RHEL 8

  • watchdog process are still showing even after disabling all watchdog sysctl
    kernel parameters in RHEL 8

  • Watchdog process are showing in TASK_PARKED state

       $ cat sos_commands/kernel/sysctl_-a |grep -i watchdog
         kernel.nmi_watchdog = 0
         kernel.soft_watchdog = 0
         kernel.watchdog = 0  <==========
         kernel.watchdog_cpumask = 0
         kernel.watchdog_thresh = 10


       $ cat sos_commands/process/ps_alxwww|grep -i watch
       1     0      13       2  20   0      0     0 -      P    ?          0:00 [watchdog/0]
       1     0      16       2  20   0      0     0 -      P    ?          0:00 [watchdog/1]
       --SNIP--
       1     0     146       2  20   0      0     0 -      P    ?          0:00 [watchdog/19]
       1     0     189       2 -100  -      0     0 -      S    ?          0:00 [watchdogd]
                                                         ^^^^^^

RHEL 9

  • There is no watchdog process showing in RHEL 9 , even when kernel.watchdog is enabled
       # sysctl -a|grep -i watchdog
       kernel.nmi_watchdog = 0
       kernel.soft_watchdog = 1
       kernel.watchdog = 1
       kernel.watchdog_cpumask = 0-1
       kernel.watchdog_thresh = 10

       #ps -aux|grep -i watchdog
       root          41  0.0  0.0      0     0 ?        S    18:23   0:00 [watchdogd]
       root        2780  0.0  0.1 221796  2252 pts/0    S+   18:25   0:00 grep --color=auto -i watchdog

Environment

Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content