Created on
06-21-2022
05:05 AM
Edited on
01-13-2023
07:23 AM
By
Jean-Philippe_P
| Description | This article describes that IPS frequently crashing can cause traffic disruptions and impact production. |
| Scope | FortiGate. |
| Solution |
- Sometimes, IPS crashes due to the IPS engine hitting a bug or exhausting resources on FortiGate. This can cause traffic disruptions where the IPS/Application control is used which are flow-based engines handled by IPS engine. - To overcome as a workaround, the below can be applied on a case-by-case basis in case of impact is more and causes traffic disruptions.
Note. This is a temporary workaround until a permanent fix is found as the IPS scan is important for scanning traffic.
- Enable the fail-open on IPS global as per below:
- Fail open can be enabled at the time of changes (upgrade or downgrade) to the IPS engine and can reset the setting after the changes. This avoids traffic disruptions.
IPS enter fail open mode: engines=4 socketsize=67108864
In this case, it will also be useful to increase the socket size of the IPS a little and to see the current socket size 'diag test app ipsmonitor 1'.
- Collect the TAC report before changes to investigate the root because of high CPU/memory:
# diag debug reset - FortiGate can be configured with the automated restart of the IPS process in case of high CPU/memory with fail-open enabled. - Once all changes are done, select 'Apply-OK' at the bottom to save changes.
- Revert the changes of fail-open and automation script when a stable version/fix is found for the IPS crashing.
Refer to the below article for more information on setting automation: Other IPS engine debug commands: |
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 2026 Fortinet, Inc. All Rights Reserved.