Configuring kernel thread starvation detection
CAUTION:
Inappropriate configuration of kernel thread starvation detection can cause service problems or
system breakdown. Make sure you understand the impact of this configuration on your network
before you configure kernel thread starvation detection.
Starvation occurs when a thread is unable to access shared resources.
Kernel thread starvation detection enables the system to detect and report thread starvation. If a
thread is not executed within a specific interval, the system considers that a starvation has occurred,
and generates a starvation message.
Thread starvation does not impact system operation. A starved thread can automatically run when
certain conditions are met.
To configure kernel thread starvation detection:
Step
1.
Enter system view.
2.
Enable kernel thread
starvation detection.
3.
(Optional.) Set the
interval for identifying a
kernel thread starvation.
4.
(Optional.) Disable kernel
thread starvation
detection for a kernel
thread.
Displaying and maintaining kernel threads
Execute display commands in any view and reset commands in user view.
Task
Display kernel thread deadloop information.
Display kernel thread deadloop detection
configuration.
Display kernel thread exception information.
Display kernel thread reboot information.
Display kernel thread starvation information.
Display kernel thread starvation detection
configuration.
Clear kernel thread deadloop information.
Clear kernel thread exception information.
Command
system-view
monitor kernel starvation enable [ slot
slot-number [ cpu cpu-number ] ]
monitor kernel starvation time interval
[ slot slot-number [ cpu cpu-number ] ]
monitor kernel starvation
exclude-thread tid [ slot slot-number
[ cpu cpu-number ] ]
Command
display kernel deadloop show-number [ offset ]
[ verbose ] [ slot slot-number [ cpu cpu-number ] ]
display kernel deadloop configuration [ slot slot-number
[ cpu cpu-number ] ]
display kernel exception show-number [ offset ]
[ verbose ] [ slot slot-number [ cpu cpu-number ] ]
display kernel reboot show-number [ offset ] [ verbose ]
[ slot slot-number [ cpu cpu-number ] ]
display kernel starvation show-number [ offset ]
[ verbose ] [ slot slot-number [ cpu cpu-number ] ]
display kernel starvation configuration [ slot
slot-number [ cpu cpu-number ] ]
reset kernel deadloop [ slot slot-number [ cpu
cpu-number ] ]
reset kernel exception [ slot slot-number [ cpu
cpu-number ] ]
192
Remarks
N/A
By default, the function is
disabled.
The default is 120 seconds.
After enabled, kernel thread
starvation detection monitors
all kernel threads by default.
Need help?
Do you have a question about the FlexFabric 5700 Series and is the answer not in the manual?
Questions and answers