...
There is a memory leak in the "ascii-cfg" process. It happens when customers use the archive feature with the "write-memory" command. The leak happens when entering the "copy run start" command which also triggers the archive to automatically run in parallel and backup will be performed.
-> Nexus 9K TOR or EOR -> Behavior seen in version 9.2(3), 7.0(3)I7(7) and 7.0(3)I7(5a) -> write-memory command is used: switch# sh run | sec archive archive path bootflash: time-period 1 maximum 2 write-memory
-> Remove the "write-memory" command.
The memory leak only happens when we do ?copy run start? when we have archive config applied with command ?write-memory? switch# sh run | sec archive archive path bootflash: time-period 1 maximum 2 write-memory fter several ?copy run start? it keeps leaking: witch# show processes memory | in PID|ascii PID MemAlloc MemLimit MemUsed StackBase/Ptr Process 28397 32911360 4294967295 646033408 ffacb280/ffaca158 ascii-cfg switch# copy run start [########################################] 100% Copy complete, now saving to disk (please wait)... Copy complete. switch# show processes memory | in PID|ascii PID MemAlloc MemLimit MemUsed StackBase/Ptr Process 28397 41259008 4294967295 654381056 ffacb280/ffaca158 ascii-cfg switch# copy run start [########################################] 100% Copy complete, now saving to disk (please wait)... Copy complete. switch# show processes memory | in PID|ascii PID MemAlloc MemLimit MemUsed StackBase/Ptr Process 28397 50696192 4294967295 663818240 ffacb280/ffaca158 ascii-cfg So after disabling ?write-memory? command there was no more leaks. switch# show processes memory | in PID|ascii PID MemAlloc MemLimit MemUsed StackBase/Ptr Process 28397 109453312 4294967295 722575360 ffacb280/ffaca158 ascii-cfg switch# copy run start [########################################] 100% Copy complete, now saving to disk (please wait)... Copy complete. switch# show processes memory | in PID|ascii PID MemAlloc MemLimit MemUsed StackBase/Ptr Process 28397 109453312 4294967295 722575360 ffacb280/ffaca158 ascii-cfg Meaning of write-memory: switch(config-archive)# write-me? write-memory Enable write-memory archiving <<<<<<<<<<