Created on
08-18-2023
12:39 AM
Edited on
05-20-2025
07:19 AM
By
Jean-Philippe_P
Description | This article provides CLI commands to correct the High CPU and MEMORY usage Problem in the short term. |
Scope | High CPU and Memory cause of IPS engine. |
Solution |
IPS Engine using high memory and high CPU cases are different types of cases. Each of them has its own troubleshooting methods.
The command shown below might helps to collect some detailed information about the IPS Engine and restart/start/stop/bypass it to decrease the usage temporarily.
Use the below CLI command:
diagnose test application ipsmonitor
IPS Engine Test Usage: 1: Display IPS engine information
The most common command used to deal with the IPS Engine consuming high resources is the following, which restarts the IPS process:
For high CPU usage by IPS Engine cases it is recommended to bypass the engine before restart or stop it.
diagnose test application ipsmonitor 5
If the CPU usage decreases after bypass, that is a strong indication of the volume of traffic inspected is too much for the FortiGate model that is in use.
Command to disable bypass IPS Engine shown below:
diagnose test application ipsmonitor 5
Collect the output below multiple times:
diagnose test application ipsmonitor 44 diagnose sys process pidof ipsengine diagnose sys pstack <-- PID of IPSEngine from the last command.
Note: Do not run the restart or stop commands during production hours, as it will affect the ongoing sessions. Make sure to run them in the maintenance window. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.