You can disable kernel thread deadloop detection for up to 128 kernel threads by executing the
command.
Examples
# Disable kernel thread deadloop detection for kernel thread 15.
<Sysname> system-view
[Sysname]monitor kernel deadloop exclude-thread 15
Related commands
display kernel deadloop configuration
display kernel deadloop
monitor kernel deadloop enable
monitor kernel deadloop time
Use monitor kernel deadloop time to set the interval for identifying a kernel thread deadloop.
Use undo monitor kernel deadloop time to restore the default.
Syntax
monitor kernel deadloop time time [ slot slot-number [ cpu cpu-number ] ]
undo monitor kernel deadloop time [ slot slot-number [ cpu cpu-number ] ]
Default
The interval for identifying a kernel thread deadloop is 20 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
time time: Specifies the interval for identifying a kernel thread deadloop, in the range of 1 to 65535
seconds.
slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the
master device is specified.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
Inappropriate use of the command can cause service problems or system breakdown. Make sure
you understand the impact of the command on your network before you use it.
If a kernel thread runs for the specified interval, kernel thread deadloop detection considers that a
deadloop has occurred.
Examples
# Set the interval for identifying a kernel thread deadloop to 8 seconds.
<Sysname> system-view
[Sysname] monitor kernel deadloop time 8
Related commands
display kernel deadloop configuration
display kernel deadloop
292