Potential Memory Leak
ICSeverity
4 - Warning
Impact
Memory leak can lead to device crash.
Description
The memory use of a process increases over time, and not released, can eventually cause the operating system to run out of memory. If the system runs out of memory, it can crash. Review defect Cisco bug ID CSCsw33723 for additional information and examples of commands with large outputs that contribute to this condition. The warning threshold is 90%.
SyslogMessage
PLATFORM-4-ELEMENT_WARNING
MessageSample
Apr 10:10:10 <<ipaddress>> %PLATFORM-4-ELEMENT_WARNING: Switch 1 R0/0: smand: 1/RP/0: Used Memory value 91% exceeds warning level 90% THIS IS A SAMPLE MESSAGE
ProductFamily
- Cisco Catalyst 9200 Series Switches
- Cisco Catalyst 9300 Series Switches
- Cisco Catalyst 9400 Series Switches
- Cisco Catalyst 9500 Series Switches
- Cisco Catalyst 9600 Series Switches
- Cisco Catalyst 9500H Series Switches
- Cisco Catalyst 9800 Series Wireless Controllers
- Cisco Catalyst 9800 Wireless Controller in Cloud
- Cisco 4000 Series Integrated Services Routers
- Cisco ASR 1000 Series Aggregation Services Routers
Regex
N/A
Recommendation
Avoid running commands with long outputs. It is safe to periodically restart the smand with the command test platform software process exit shell-manager RP active stateless. If this doesn't provide temporary relief, you may need to reload the device. However, because the underlying condition is still present, the only permanent solution is to upgrade software to a fixed release.
Commands
#show version
#show platform software process list RP active name smand