- Table of Contents
-
- 12-WLAN Advanced Features Configuration Guide
- 00-Preface
- 01-WLAN optimization configuration
- 02-Hotspot 2.0 configuration
- 03-WLAN probe configuration
- 04-WSA configuration
- 05-Wireless location configuration
- 06-WLAN process maintenance configuration
- 07-WLAN mesh configuration
- 08-Bonjour gateway configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
06-WLAN process maintenance configuration | 77.86 KB |
Contents
Configuring WLAN process maintenance
About WLAN process maintenance
WLAN process maintenance tasks at a glance
Enabling WLAN process maintenance
Enabling maintenance of a process
About defunct process management
Enabling defunct process restart
Setting the memory usage threshold
Verifying and maintaining WLAN process maintenance
Configuring WLAN process maintenance
About WLAN process maintenance
WLAN process maintenance enables the system to monitor and collect the CPU usage, memory usage, and thread status of WLAN processes for administrators to troubleshoot the WLAN. It provides the following features:
· Memory usage monitoring—Records the memory usage of each monitored process every five minutes and performs a calculation every 2 hours. The system determines that memory leakage occurs and outputs a log entry when either of the following conditions is met:
¡ The total memory usage of all processes exceeds 80%.
¡ The memory usage of a process exceeds the threshold and shows an upward trend in the past seven days.
· CPU usage monitoring—Periodically records the CPU usage of each monitored process and performs a calculation. If the calculated usage exceeds 20%, the system outputs a log entry.
· Thread state monitoring—Sends a message to the thread of each monitored process every 30 seconds. If the system fails to receive any response within a specific period, it determines that the thread is in defunct state and outputs a log entry.
WLAN process maintenance tasks at a glance
To configure WLAN process maintenance, perform the following tasks:
1. Enabling WLAN process maintenance
2. Enabling maintenance of a process
¡ Setting the inactive timeout
¡ (Optional.) Enabling defunct process restart
4. (Optional.) Setting the memory usage threshold
Enabling WLAN process maintenance
About this task
This feature enables the system to monitor the CPU usage, memory usage, and thread state of apmgr and stamgr processes.
Procedure
1. Enter system view.
system-view
2. Enable WLAN process maintenance.
maintain enable
By default, WLAN process maintenance is disabled.
Enabling maintenance of a process
About this task
This feature enables the system to monitor the CPU usage and memory usage of the specified process.
Restrictions and guidelines
For a successful configuration, make sure WLAN process maintenance is enabled before you perform this task.
Procedure
1. Enter system view.
system-view
2. Enable maintenance of a process.
maintain monitor process process-name
By default, maintenance of a process is disabled.
Managing defunct processes
About defunct process management
Perform this task to set the inactive timeout for the system to determine whether a process is in defunct state and configure the system to restart defunct processes automatically. The system generates a log entry if it detects that a process is in defunct state.
Setting the inactive timeout
About this task
When WLAN process maintenance is enabled, the system periodically sends a message to each monitored process to examine the process state. If the system fails to receive any response from a process when the inactive timeout expires, the system determines that the process is in defunct state.
Restrictions and guidelines
The configuration starts to take effect the first time the system sends a message upon execution of the command.
You can set the inactive timeout only for the apmgr and stamgr processes.
Procedure
1. Enter system view.
system-view
2. Set the inactive timeout for a process.
maintain process process-name inactive-time value
By default, the inactive timeout is 10 minutes.
Enabling defunct process restart
CAUTION: Restarting a main WLAN process affects wireless services. Please configure this feature under the guidance of professionals and use this feature with caution. |
About this task
This feature enables the system to restart the apmgr and stamgr processes when they enter defunct state.
Restrictions and guidelines
This feature takes effect only when WLAN process maintenance is enabled.
Procedure
1. Enter system view.
system-view
2. Enable defunct process restart.
maintain inactive-process restart enable
By default, defunct process restart is disabled.
Setting the memory usage threshold
About this task
The system outputs a log entry when the memory usage of the specified process exceeds the threshold.
Restrictions and guidelines
This feature takes effect only when WLAN process maintenance is enabled.
Procedure
1. Enter system view.
system-view
2. Set the memory usage threshold.
maintain process process-name memory-threshold value
By default, the memory usage threshold is 300 MB.
Verifying and maintaining WLAN process maintenance
Perform display tasks in any view.
· Display the CPU usage history of WLAN processes.
display maintain cpu-usage history process process-name [ days-ago days ] [ start-time value ] [ interval interval ]
· Display memory usage history of WLAN processes.
display maintain memory-usage history process process-name [ days-ago days ] [ start-time value ] [ interval interval ]
· Display global WLAN statistics.
display wlan statistics global