Technical Tip: How to verify if a high CPU usage is caused by the IPS engine process
| Description | This article describes how to troubleshoot high CPU usage caused by the IPS process. |
| Scope | All FortiOS. |
| Solution | On systems where a high CPU load is suspected to be caused by IPS-based scanning, the IPS engines can be set to 'bypass' mode. The following command can be used for testing to confirm if the CPU load is caused by IPS.
Note that this will bypass all IPS scanning. The commands are intended for testing or in urgent cases of high CPU load as a temporary workaround.
Use the command below to bypass the IPS engine.
diagnose test application ipsmonitor 5
In this mode, the IPS is running, but it is not inspecting traffic.
After proceeding to disable the bypass with the same command:
diagnose test application ipsmonitor 5
As an alternative to bypassing traffic inspection, it is also possible to temporarily stop and restart all IPS engines. Use the following commands:
Stopping the IPS engines will immediately halt all IPS inspection and related background processes.
Related document: |
