...
ISR4K router with a NIM-ES2 card inserted that is stuck in 'booting' state. ILCH2AR02#show plat Chassis type: ISR4451-X/K9 Slot Type State Insert time (ago) --------- ------------------- --------------------- ----------------- 0 ISR4451-X/K9 ok 2d04h 0/0 ISR4451-X-4x1GE ok 2d04h 0/1 NIM-ES2-4 booting 00:01:32 <<<<<< 1 ISR4451-X/K9 ok 2d04h 2 ISR4451-X/K9 ok 2d04h R0 ISR4451-X/K9 ok, active 2d04h F0 ISR4451-X/K9 ok, active 2d04h P0 PWR-4450-AC ok 2d04h P1 PWR-4450-AC ok 2d04h P2 ACS-4450-FANASSY ok 2d04h If we check periodically the memory used by the IOSXE processes, we can see memory increasing under 'iomd' process (look at the RSS column). ISR4331#show process memory platform sorted System memory: 8094412K total, 2419000K used, 5675412K free, Lowest: 5675412K Pid Text Data Stack Dynamic RSS Total Name -------------------------------------------------------------------------------- ... 3310 519 149728 136 93188 149728 889608 iomd ...
This issue is seen when a NIM-ES2 card inserted in ISR4K router is stuck at 'booting' state.
++ As a workaround, you can either. a) remove the card from the router and no memory will be leaked then. b) OIR the card so as to free the memory - when you OIR the card, the 'iomd' process associated to the card will be killed and its memory freed.
This leak is actually triggered by soft reloads of the NIM-ES2 module: the module is stuck in booting state, but internally is getting soft reloaded continuously, and each soft reload leaks a small amount of memory. This is easy to reproduce by manually soft reloading a module with hw-module subslot X/Y reload - take a look at the increment in RSS column: Router#show processes memory platform sorted | i RSS|iomd Pid Text Data Stack Dynamic RSS Total Name 500 519 60548 136 4304 60548 800728 iomd Router#hw-module subslot 0/0 reload Proceed with reload of module? [confirm] Router#show processes memory platform sorted | i RSS|iomd Pid Text Data Stack Dynamic RSS Total Name 500 519 60580 136 4304 60580 800728 iomd