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 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 in below;
diagnose test application ipsmonitor 5
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. |