Symptom
IOS XE device may show signs of memory exhaustion, for example errors similar to:
%PLATFORM-3-ELEMENT_CRITICAL: R0/0: smand: RP/0: Used Memory value #% exceeds critical level 93%
This can also be confirmed by checking the output of:
------------------ show processes memory platform accounting ------------------
Hourly Stats
process callsite_ID(bytes) max_diff_bytes callsite_ID(calls) max_diff_calls tracekey timestamp(UTC)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
keyman_rp_0 XXXXXXXXXXXX XXXXXXXX XXXXXXXXXXXX XXXXXXX 1#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXX-XX-XX XX:XX
Where keyman_rp is high in the list, and shows a large number of max_diff_bytes and max_diff_calls. If this condition exhausts all available memory the device may experience an unexpected reset. This occurs when Smart Licensing exhausts key agent with key additions and removals.
Conditions
This is caused not only by Smart Licensing but also by other TLS-based apps.
Workaround
When the device is already showing symptoms of memory exhaustion, a temporary workaround is to reload the device which will free up the memory temporarily and allow the system to function until an upgrade can take place.
Further Problem Description
See also CSCwb59102