Support Support Downloads Knowledge Base Service Request Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[QFX] How to identify JNH memory block leak

0

0

Article ID: KB35421 KB Last Updated: 17 Jan 2020Version: 1.0
Summary:

Constant add/delete of MPLS next-hops because of auto-bandwidth or path optimizations might lead to memory leakage on QFX10002 platform running JUNOS 15.1X53 code and cause service impact.

Symptoms:

The following syslog messages can be used to identify if the memory block issue occurs on QFX10002 platform. Packet drop might be seen when all the available memory blocks are used and allocation fails.

There is no workaround to recover the chassis from problem state. Chassis reboot is suggested to restore the system.

Feb 18 12:31:45  re0 fpc0 JPRDS_NH:jprds_nh_mem_alloc_length(),1086: JNH[0] addr 0xfffff not belong to any block for EGRESS 
Feb 18 12:31:45  re0 fpc0 JPRDS_NH:jprds_nh_read_block(),975: MEM_TYPE: EGRESS, Failed to read 0 words from pfe 0 at addr 0xfffff 
Feb 18 12:31:45  re0 fpc0 JENCAP:ERR:jprds_edf_chip_desc_mem_read(),1487: irp egress nh read failed, desc addr = 0xfffff
Feb 18 12:31:45  re0 fpc0 JENCAP:ERR:jprds_encap_desc_del(),892: Desc retrieval failed for flabel 16777216  
Feb 18 12:31:45  re0 fpc0 expr_nh_fwd_free_egress_encap_handles: nh 8119 type Aggreg. egress descr uninstall failed 
Feb 18 12:31:45  re0 fpc0 expr_nh_agg_egress_install: expr_nh_agg_egress_install: uninstall egress handles failed for nh 8119 
Feb 18 12:31:45  re0 fpc0 JPRDS_NH:jprds_nh_alloc(),662: JNH[0] failed to grab new region for EGRESS 
Feb 18 12:31:45  re0 fpc0 JPRDS_NH:jprds_nh_alloc(),664: IRP mainmem_id: 0x4444667777775577 
Feb 18 12:31:45  re0 fpc0 JENCAP:ERR:jprds_edf_priv_desc_mem_alloc(),2677: Dev 0: mem_addr:1048575, Pvt mem alloc failied, nwords:3 
Feb 18 12:31:45  re0 fpc0 JENCAP:ERR:jprds_edf_priv_desc_mem_write(),2771: Dev 0: Private Mem update Failed for index 1048575 > 524288(JPRDS_EDF_MAX_DESC_MEM_SIZE) 

Use the following CLI command to monitor the QFX10002 device memory block utilization. If the largest page free value is less then 100, it indicates the device has entered into a critical state and needs to be rebooted to restore the service.

 Example output:
{master:0}
root@QFX10002> request pfe execute target fpc0 command "show shim jnh memory dev 0 usage egress" |match "pages free"
GOT:           0 pages free (max contiguous = 0)
GOT:           0 pages free (max contiguous = 0)
GOT:           0 pages free (max contiguous = 0)
GOT:           0 pages free (max contiguous = 0)
GOT:           0 pages free (max contiguous = 0)
GOT:           0 pages free (max contiguous = 0)
GOT:         858 pages free (max contiguous = 858)  <-- critical state only when the free page number less than 100
Cause:

This issue is caused by a software defect per PR1341903 - Traffic impacted due to memory issues on QFX10002.

Solution:

If you need your QFX10002 running on 15.1X53 code, it is possible to use an event script to mitigate this issue. Please contact JTAC for additional information.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Security Alerts and Vulnerabilities

Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search