Monitoring Kernel Threads; Configuring Kernel Thread Deadloop Detection - H3C SR6600-X Configuration Manual

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

Advertisement

Task
Display memory usage for all user processes.
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.
Display context information for process exceptions.
Display the core file directory.
Enable or disable a process to generate core files for
exceptions and set the maximum number of core files
(which defaults to 1).
Specify the directory for saving core files (the default
directory is the root directory of the storage medium
on the global active MPU).
Clear context information for process exceptions.

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:
H3C recommends the default settings. 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 configure kernel thread deadloop detection.
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 (in standalone mode):
Command
display process memory [ chassis chassis-number slot
slot-number [ cpu cpu-number ] ]
display process memory heap job job-id [ verbose ]
[ chassis chassis-number slot slot-number [ cpu
cpu-number ] ]
display process memory heap job job-id size
memory-size [ offset offset-size ] [ chassis
chassis-number slot slot-number [ cpu cpu-number ] ]
display process memory heap job job-id address
starting-address length memory-length [ chassis
chassis-number slot slot-number [ cpu cpu-number ] ]
display exception context [ count value ] [ chassis
chassis-number slot slot-number [ cpu cpu-number ] ]
display exception filepath [ chassis chassis-number
slot slot-number [ cpu cpu-number ] ]
process core { maxcore value | off } { job job-id |
name process-name } [ chassis chassis-number slot
slot-number [ cpu cpu-number ] ]
exception filepath directory
reset exception context [ chassis chassis-number slot
slot-number [ cpu cpu-number ] ]
196

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents