Monitoring Kernel Threads; Configuring Kernel Thread Deadloop Detection; Configuring Kernel Thread Starvation Detection - HP 6125XLG Configuration Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

Task
Display heap memory usage for a
user process.
Display the addresses of memory
blocks with a specified size used
by a user process.
Display memory content starting
from a specified memory block for
a user process.

Monitoring kernel threads

Tasks in this section help you quickly identify thread deadloop and starvation problems and their causes.

Configuring kernel thread deadloop detection

CAUTION:
Inappropriate configuration of kernel thread deadloop detection can cause service problems or system
breakdown. Make sure you understand the impact of this configuration on your network before you do it.
Kernel threads share resources. If a kernel thread monopolizes the CPU, other threads cannot run,
resulting in a deadloop.
This feature enables the device to detect deadloops. If a thread occupies the CPU for a specific interval,
the device considers that a deadloop has occurred. It generates a deadloop message and reboots to
remove the deadloop.
To configure kernel thread deadloop detection:
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:
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 do it.
Command
display process memory heap job job-id [ verbose ] [ slot slot-number ]
display process memory heap job job-id size memory-size [ offset
offset-size ] [ slot slot-number ]
display process memory heap job job-id address starting-address length
memory-length [ slot slot-number ]
Command
system-view
monitor kernel deadloop enable [ slot
slot-number ]
monitor kernel deadloop time interval [ slot
slot-number ]
monitor kernel deadloop exclude-thread
tid [ slot slot-number ]
102
Remarks
N/A
By default, the function is
disabled.
The default is 60 seconds.
After enabled, kernel thread
deadloop detection monitors
all kernel threads by default.

Advertisement

Table of Contents
loading

Table of Contents