12-WLAN Advanced Features Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C Access Controllers Configuration Guides(R5447P04)-6W10012-WLAN Advanced Features Configuration Guide
06-WLAN process maintenance configuration
Title Size Download
06-WLAN process maintenance configuration 70.32 KB

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 monitoringRecords 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

3.     Managing defunct processes

¡     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, stamgr, and portal 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, stamgr, and portal 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

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, stamgr, and portal 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.

Display and maintenance commands for WLAN process maintenance

IMPORTANT

IMPORTANT:

The WX1800H series, WX2500H series, MAK series, and WX3000H series access controllers do not support parameters or commands that are available only in IRF mode.

Execute display commands in any view.

 

Task

Command

Display the CPU usage history of WLAN processes.

In standalone mode:

display maintain cpu-usage history process process-name [ days-ago days ] [ start-time value ] [ interval interval ]

In IRF mode:

display maintain cpu-usage history process process-name [ days-ago days ] [ start-time value ] [ interval interval ] [ slot slot-number ]

Display memory usage history of WLAN processes.

In standalone mode:

display maintain memory-usage history process process-name [ days-ago days ] [ start-time value ] [ interval interval ]

In IRF mode:

display maintain memory-usage history process process-name [ days-ago days ] [ start-time value ] [ interval interval ] [ slot slot-number ]

Display global WLAN statistics.

display wlan statistics global

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网