No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Memory Failures

Memory Failures

Memory usage refers to the ratio of occupied memory space to the total memory space. Memory usage is an important indicator to evaluate device performance.

Fault Description

After running the display memory-usage command, you find that the memory usage is high. By default, alarm ENTITYTRAP_1.3.6.1.4.1.2011.5.25.219.2.15.1 hwMemUtilizationRising is generated when the memory usage exceeds 95%. If the memory usage keeps increasing, the system is automatically reset and services are interrupted.

Possible Causes

If the memory usage keeps increasing, a memory leak may occur.

NOTE:

Memory leak indicates that applications occupy memory space for a long time. If the applications do not release memory, the memory usage increases until the system memory is exhausted.

Procedure

Collect the memory usage, memory block size of partition 2, memory usage of the specified memory block, each PID, and specified PID, and provide the collected information to Huawei.

  1. Display the memory usage.

    <Huawei> display memory-usage
  2. Configure memory block size of partition 2 to be displayed every day in three days.

    <Huawei> system-view
    [Huawei] diagnose
    [Huawei-diagnose] display inspect mem-debug-info 13 2 0 0
    NOTE:
    The meanings of record-number in the display inspect mem-debug-info record-number mid-hex hex-string hex-value command are displayed as follows:
    [Huawei-diagnose] display inspect mem-debug-info ?           
      INTEGER<0-26>                                                                 
                     0 help; 1 utilization; 2 contents; 3 memory by address;        
                     4 memory by time; 5 memory by PID; 6 memory by SID;            
                     7 memory by SID & PID 8 block size; 9 memory by used size;      
                     11 shortage; 12 tracing; 13 show partition;                    
                     14 show information; 15 show Size; 16 pid by size;             
                     17 show PID; 18 show all; 19 show PID & SID                     
                     20 alloc free times; 21 block PID by SID; 22 memory piece;     
                     23 alloc failed; 24 PID peak value; 25 partition; 26 partition used by PIDSID 
  3. Display the memory usage of the specified memory block (the block of which the UsedSize value in step 2 keeps increasing).

    For example, the UsedSize value of block 84 keeps increasing. Display the memory usage of block 84:

    <Huawei> system-view
    [Huawei] diagnose
    [Huawei-diagnose] display inspect mem-debug-info 16 2 54 0
    NOTE:

    The value 54 is a Hexadecimal value, namely, 0x54 (84).

  4. Configure memory usage of each PID to be displayed every day in three days.

    <Huawei> system-view
    [Huawei] diagnose
    [Huawei-diagnose] display inspect mem-debug-info 26 2 0xffffffff 0
  5. Display the memory usage of the specified PID (the PID of which the AllocSize value in step 4 keeps increasing).

    For example, the AllocSize value of PID 0xff32 keeps increasing. Display the memory usage of PID 0xff32:

    <Huawei> system-view
    [Huawei] diagnose
    [Huawei-diagnose] display inspect mem-debug-info 26 2 0xff32 0
Translation
Download
Updated: 2019-05-10

Document ID: EDOC1000079719

Views: 454048

Downloads: 4314

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next