Description

This article explains on how to reduce the memory resource consumed

Symptoms

Observed that the memory utilization on one of our Juniper switches is above 80%

Solution

  • Reduce the number of open CLI sessions which can reduce the unnecessary system memory consumption
  • Traceoption is enabled for app-engine-virtual-machine-management-service with flag all
  • If there are any trace options active in the device for any protocol, please deactivate those trace options and then cleanup the storage. 
  • Please note: That trace options can be enable for only debugging/testing purposes however it is recommended to deactivate those trace options once testing is done to avoid unnecessary resource consumption.

user@switch# delete protocols <protocol-name> traceoptions

user@switch# deactivate protocols <protocol-name> traceoptions 

 

  • We can use the below command to clean up the storage and it will delete unnecessary files which are saved in /var/tmp directory of the device  user@switch#> request system storage cleanup
  • Memory utilization has decreased following the suggested change. 

Modification History

2025-04-16 : Article Created