5/1/2023 0 Comments Imops imagStep 4: Run debug platform software memory switch alloc backtrace start depth 10 and then run show platform software memory switch alloc backtrace in order to get the backtrace information: #debug platform software memory ios switch 1 R0 alloc backtrace start 3890515970 depth 10 Load for five secs: 3%/1% one minute: 6% five minutes: 4% #show platform software memory ios switch 1 R0 alloc callsite brief Then run show platform software memory switch alloc callsite brief to identify the callsite which consumes the memory: #debug platform software memory ios switch active R0 alloc callsite start Step 3: Run debug platform software memory switch alloc callsite start in order to enable the memory allocation tracking debug on the affected switch. This command displays the memory consumed by the Linux IOSd image (linux_iosd-imag) and Platform Manager (platform_mgr), check the resident set size (RSS) which is the portion of memory occupied by a process that is held in main memory (RAM). Load for five secs: 5%/1% one minute: 5% five minutes: 4% Step 2: Run show platform software process memory switch all sorted in order to monitor the Switch and Processor that increased the memory usage: #show platform software process memory switch 1 r0 all sorted The log message indicates the affected switch and the processor, in the example Switch 1 and the Route Processor (RP) are affected. Is possible to see a log message that warns about the memory usage when it surpasses a certain threshold, this message is not exclusive to this issue but it can be considered a symptom: %PLATFORM-4-ELEMENT_WARNING: Switch 1 R0/0: smand: 1/RP/0: Used Memory value 92% exceeds warning level 90% Load for five secs: 4%/1% one minute: 4% five minutes: 5% Run show platform software status control-processor brief in order to check the Kernel memory usage #show platform software status control-processor brief Step 1: Monitor the Used and Committed memory, you have to see an increase on these values, a leak is identified when the memory increases but it doesn't decrease over time, if memory usage get back to normal, then you can discard a memory leak. I used a Catalyst 3650 with 16.3.5b to get the command samples, the results can change from platform to platform. Memory in XE can be monitored at IOSd (Cisco IOS Daemon) level or Linux Kernel level, this leak is identified at Kernel level. Please be aware that you need TAC assistance to determine a memory leak.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |