Configuring Kernel Thread Starvation Detection - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enable kernel thread
deadloop detection.
3.
(Optional.) Set the interval
for identifying a kernel
thread deadloop.
4.
(Optional.) Disable kernel
thread deadloop detection
for a kernel thread.
To configure kernel thread deadloop detection (in IRF mode):
Step
1.
Enter system view.
2.
Enable kernel thread
deadloop detection.
3.
(Optional.) Set the interval
for identifying a kernel
thread deadloop.
4.
(Optional.) Disable kernel
thread deadloop detection
for a kernel thread.

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.
To configure kernel thread starvation detection (in standalone mode):
Step
1.
Enter system view.
Command
system-view
monitor kernel deadloop enable [ slot
slot-number [ cpu cpu-number ] ]
monitor kernel deadloop time interval [ slot
slot-number [ cpu cpu-number ] ]
monitor kernel deadloop exclude-thread
tid [ slot slot-number [ cpu cpu-number ] ]
Command
system-view
monitor kernel deadloop enable [ chassis
chassis-number slot slot-number [ cpu
cpu-number ] ]
monitor kernel deadloop time interval
[ chassis chassis-number slot slot-number
[ cpu cpu-number ] ]
monitor kernel deadloop exclude-thread
tid [ chassis chassis-number slot slot-number
[ cpu cpu-number ] ]
Command
system-view
197
Remarks
N/A
By default, kernel thread
deadloop detection is
disabled.
The default is 8 seconds.
After enabled, kernel thread
deadloop detection monitors
all kernel threads by default.
Remarks
N/A
By default, kernel thread
deadloop detection is
disabled.
The default is 8 seconds.
After enabled, kernel thread
deadloop detection monitors
all kernel threads by default.
Remarks
N/A

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents