211
Configuring kernel thread starvation detection
CAUTION:
The system detects whether or not kernel thread starvation occurs after the device is powered up.
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.
(In standalone mode.) To configure kernel thread starvation detection:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable kernel thread
starvation detection.
monitor kernel starvation enable
[
slot
slot-number
[
cpu
cpu-number
] ]
By default, the function is
disabled.
3.
(Optional.) Set the
interval for identifying a
kernel thread starvation.
monitor kernel starvation time time
[
slot slot-number
[
cpu
cpu-number
] ]
The default is 120 seconds.
4.
(Optional.) Disable kernel
thread starvation
detection for a kernel
thread.
monitor kernel starvation
exclude-thread tid
[
slot slot-number
[
cpu
cpu-number
] ]
After enabled, kernel thread
starvation detection monitors
all kernel threads by default.
(In IRF mode.) To configure kernel thread starvation detection:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable kernel thread
starvation detection.
monitor kernel starvation enable
[
chassis chassis-number slot
slot-number
[
cpu
cpu-number
] ]
By default, the function is
disabled.
3.
(Optional.) Set the
interval for identifying a
kernel thread starvation.
monitor kernel starvation time time
[
chassis chassis-number slot
slot-number
[
cpu
cpu-number
] ]
The default is 120 seconds.
4.
(Optional.) Disable kernel
thread starvation
detection for a kernel
thread.
monitor kernel starvation
exclude-thread tid
[
chassis
chassis-number slot slot-number
[
cpu
cpu-number
] ]
After enabled, kernel thread
starvation detection monitors
all kernel threads by default.
Displaying and maintaining kernel threads
(In standalone mode.) Execute
display
commands in any view and
reset
commands in user view.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...