cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
317
Views
0
Helpful
3
Replies

ciscoMemoryPoolFree IOS XR

savolyukdmitry
Level 1
Level 1

Hi, we are watching memory using the next OID:

cempMemPoolHCUsed  1.3.6.1.4.1.9.9.221.1.1.1.1.18
 

snmpwalk -v 2c -c xxxxx yyyyy 1.3.6.1.4.1.9.9.221.1.1.1.1.18
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.18.18788073.1 = Counter64: 3501044796
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.18.18788073.2 = Counter64: 134217728
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.18.18788073.3 = Counter64: 77542588

SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.18.52690955.1 = Counter64: 2966134572
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.18.52690955.2 = Counter64: 134217728
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.18.52690955.3 = Counter64: 70138316

 

snmpwalk -v 2c -c xxxxx yyyyy 1.3.6.1.4.1.9.9.221.1.1.1.1.3
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.3.18788073.1 = STRING: "processor"
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.3.18788073.2 = STRING: "reserved"
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.3.18788073.3 = STRING: "image"

SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.3.52690955.1 = STRING: "processor"
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.3.52690955.2 = STRING: "reserved"
SNMPv2-SMI::enterprises.9.9.221.1.1.1.1.3.52690955.3 = STRING: "image"

 
SNMPv2-SMI::mib-2.47.1.1.1.1.7.18788073 = STRING: "module 0/0/CPU0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.52690955 = STRING: "module 0/RSP0/CPU0"
 

show memory summary detail location 0/rSP0/CPU0


node: node0_RSP0_CPU0
------------------------------------------------------------------
Physical Memory: 8.000G total (5.047G available)
Application Memory : 7.809G (5.047G available)
Image: 66.889M (bootram: 66.889M)
Reserved: 128.000M, IOMem: 0, flashfsys: 0

show memory summary detail location 0/0/CPU0

node: node0_0_CPU0
------------------------------------------------------------------
Physical Memory: 8.000G total
Application Memory : 7.802G (4.541G available)
Image: 73.950M (bootram: 73.950M)
Reserved: 128.000M, IOMem: 0, flashfsys: 0

 
0/rSP0/CPU0 5.047G available = Application Memory : 7.809G - cempMemPoolHCUsed
 
we also read the following OID

ciscoMemoryPoolUsed 1.3.6.1.4.1.9.9.48.1.1.1.5

snmpwalk -v 2c -c xxxxx yyyyy 1.3.6.1.4.1.9.9.48.1.1.1.5
SNMPv2-SMI::enterprises.9.9.48.1.1.1.5.1 = Gauge32: 2965159724
SNMPv2-SMI::enterprises.9.9.48.1.1.1.5.6 = Gauge32: 134217728
SNMPv2-SMI::enterprises.9.9.48.1.1.1.5.7 = Gauge32: 70138316

ciscoMemoryPoolFree 1.3.6.1.4.1.9.9.48.1.1.1.6

snmpwalk -v 2c -c xxxxx yyyyy 1.3.6.1.4.1.9.9.48.1.1.1.6
SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.1 = Gauge32: 1125224448
SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.6 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.7 = Gauge32: 0

 
Here I am interested in ciscoMemoryPoolFree, what is this value and what does it depend on? on ASR 9001, when the value eventually reaches 0 or close to it and the router reboots,at the same time, the Application Memory is not reduced, what is causing this memory leak?
 
savolyukdmitry_0-1721125540490.pngsavolyukdmitry_1-1721125753524.png

 

3 Replies 3

savolyukdmitry
Level 1
Level 1

has no one come across this and no one knows what kind of pool it is?

the ciscoMemoryPoolUsed  are the older oids for checking memory; they are capped to Gauge32 and will be wrong with systems over 4GB. if you have a system with memory over 4G its best to use the 64bit

then compare with this output "show memory summary bytes "

 

[Cisco 64bit OID]

1.3.6.1.4.1.9.9.221.1.1.1.1.20 - Memory Free (cempMemPoolHCFree)

1.3.6.1.4.1.9.9.221.1.1.1.1.18 - Memory Used (cempMemPoolHCUsed)

 [ 32bit OID]

1.3.6.1.4.1.9.9.48.1.1.1.5 - ciscoMemoryPoolUsed

1.3.6.1.4.1.9.9.48.1.1.1.6 - ciscoMemoryPoolFree

thank you, but the values in these OIDs are less than 32 bits, which means that there are correct values, I wonder what they still show

ciscoMemoryPoolFree 1.3.6.1.4.1.9.9.48.1.1.1.6

snmpwalk -v 2c -c xxxxx yyyyy 1.3.6.1.4.1.9.9.48.1.1.1.6
SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.1 = Gauge32: 1125224448
SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.6 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.7 = Gauge32: 0