Guest

Preview Tool

Cisco Bug: CSCvu24877 - cXR: %OS-SHMWIN-3-ALLOC_ARENA_FAILED : SHMWIN: Failed to allocate new arena from the server

Last Modified

Sep 02, 2020

Products (11)

  • Cisco ASR 9000 Series Aggregation Services Routers
  • Cisco ASR 9910 Router
  • Cisco ASR 9922 Router
  • Cisco IOS XR Software
  • Cisco ASR 9010 Router
  • Cisco ASR 9904 Router
  • Cisco ASR 9006 Router
  • Cisco ASR 9001 Router
  • Cisco ASR 9901 Router
  • Cisco ASR 9906 Router
View all products in Bug Search Tool Login Required

Known Affected Releases

6.5.2.BASE

Description (partial)

Symptom:
In cXR6.5.x release, there is ~100MB increase compared to cXR6.2.1 which is enough to cause shared memory allocation issues. Because each new feature may increase memory. Even each release increases the memory usage by 2%.

Logs:
++++++++++++++++++++
LC/0/3/CPU0:Apr 23 21:57:45.788 JST: shmwin_svr[90]: %OS-SHMWIN_SVR-3-NOVMEM : Exhausted virtual memory, top 1 consumer, ifc-ipv6: 565289 KBytes 
LC/0/3/CPU0:Apr 23 21:57:45.790 JST: shmwin_svr[90]: %OS-SHMWIN_SVR-3-NOVMEM : Exhausted virtual memory, top 2 consumer, ifc-ipv4: 317357 KBytes 
LC/0/3/CPU0:Apr 23 21:57:45.790 JST: shmwin_svr[90]: %OS-SHMWIN_SVR-3-NOVMEM : Exhausted virtual memory, top 3 consumer, aib: 216791 KBytes 
LC/0/3/CPU0:Apr 23 21:57:45.790 JST: shmwin_svr[90]: %OS-SHMWIN_SVR-3-NOVMEM : Exhausted virtual memory, top 4 consumer, ifc-protomax: 185845 KBytes 
LC/0/3/CPU0:Apr 23 21:57:45.790 JST: shmwin_svr[90]: %OS-SHMWIN_SVR-3-NOVMEM : Exhausted virtual memory, top 5 consumer, l2fib: 120338 KBytes 
LC/0/3/CPU0:Apr 23 21:57:45.794 JST: fib_mgr[182]: %OS-SHMWIN-3-ALLOC_ARENA_FAILED : SHMWIN: Failed to allocate new arena from the server : 'SHMWIN_SVR' detected the 'fatal' condition 'VM is exhausted or totally fragmented' 
LC/0/3/CPU0:Apr 23 21:57:45.794 JST: fib_mgr[182]: %ROUTING-FIB-3-GTRIE : [5] : FIB error in generic trie operation: leaf alloc: Not enough memory 
LC/0/3/CPU0:Apr 23 21:57:45.795 JST: fib_mgr[182]: %ROUTING-FIB-3-ASSERT_CTX_RL : BCDLdispatch [ipv4_rib pri=4 #prev_rt=0 #prev_non_rt=0] BCDLtable [0xe0000000 #upd=167 flags=0x2(remote)] RTupd [IPv4:default:0xe0000000[0x5a5e32f0],rib,21.3.26.214/32,flags=0x800000,#paths=1[92.0.0.5,0xe0000000,0x6000] ver=779394] 
LC/0/3/CPU0:Apr 23 21:57:45.795 JST: fib_mgr[182]: %ROUTING-FIB-5-ROUTE_UPDATE_DROP : FIB dropping route update: fib_ip_route_modify 2651 Dropped ipv4 prefix 21.3.26.214/32 VRF default Table-Id 0xe0000000 VRF-ID 0x60000000 Unable to create leaf): 0xc Not enough memory 
++++++++++++++++++++

Conditions:
Requires large ipv6/ipv4/dhcpv6 subscriber scale. 

RP/0/RP0/CPU0:ios#show memory summary detail location 0/1/CPU0
Thu Apr 23 22:06:17.699 JST

node:      node0_1_CPU0
------------------------------------------------------------------
Physical Memory: 24.000G total
 Application Memory : 23.663G (17.605G available)
 Image: 103.839M (bootram: 103.839M)
 Reserved: 224.000M, IOMem: 0, flashfsys: 0
 Shared window arp: 34.409M
 Shared window l2fib: 117.642M
 Shared window ifc-protomax: 181.489M     >>>>>>>>> too high
 Shared window ifc-mpls: 12.696M
 Shared window ifc-ipv6: 552.040M
 Shared window ifc-ipv4: 309.919M
 Shared window aib: 211.886M
<snipped>
 Total shared window: 1.507G   >>>>>>>>>> too high
 Allocated Memory: 1.711G
 Program Text: 29.409M
 Program Data: 219.427M
 Program Stack: 12.378M
System RAM:       24G (   25769803776) 
Total Used:     5412M (    5675131189) 
 Used Private:  3429M (    3596054837) 
 Used Shared:   1982M (    2079076352) 
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.