Symptom
Industrial Ethernet Switch (IE) running IOS-XE code can have a memory leak under the IOSd process.
The device reports this unusual utilization with a similar log:
%PLATFORM-4-ELEMENT_WARNING: R0/0: smand: RP/0: Used Memory value 91% exceeds warning level 90%. Top memory allocators are:
In the output "show process memory platform sorted", the top offender is linux_iosd-imag as following:
System memory: 3956088K total, 3433048K used, 523040K free,
Lowest: 521404K
Pid Text Data Stack Dynamic RSS Name
----------------------------------------------------------------------
6561 118052 2615380 136 344 2615380 linux_iosd-imag
8607 167 109688 136 2628 109688 dbm
9029 44 36284 136 96 36284 cli_agent
8321 376 20996 492 1896 20996 hman
9236 192 19140 136 1536 19140 btman
Memory usage and committed memory are incrementing.
When checking these two the IOSd process is increasing over time.
Conditions
Defect found during normal operation, no special trigger identified.
Workaround
No workaround, IOS upgrade to patched image is required to avoid any impact due to the memory leak.
Further Problem Description
In case that suspecting the defect is hitting a Cisco Industrial Ethernet Switch collect the commands and open a ticket with TAC to confirm diagnosis:
show process memory platform sorted
show proc mem platform detailed name iosd smaps
Memory monitoring and other outputs might be requested by TAC engineers.
Do not reboot the device as might destroy evidence of the leak behavior.