Troubleshooting Tip: How to optimize memory usage specifically for FortiGate Rugged 60F or other low-end models
Description | This article describes how to optimize memory to reduce the memory consumption for FGR-60F FortiGates in the second, third, and fourth generations. This configuration only applies to specific FortiGate models. |
Scope | This issue can occur on any FortiGate model with 2 GB of RAM or less, such as the 30D, 30E, 30G, 40C, 40F, 50E, 50G, 60D, 60E, 60F, 70D, 80C, 80D, 80E, 90D, and 90E series of devices, including variants such as FortiWiFi, Rugged, 3G/4G, DSL, SFP, and POE, as long as the RAM is 2 GB or less. |
Solution | The following are some configuration adjustments to reduce and optimize memory usage when low-end models with UTM have high memory usage. Â Increase memory-use-threshold: Â Schedule an update at off-peak time. For example: Â Or reduce worker count.Â
 For example, if the device is handling around 100-200 Mbps of traffic (as shown in the output of 'get system performance status' under average network usage), allocating more than one WAD worker or IPS engine may be necessary. This should be done while ensuring efficient memory utilization so that the device does not enter conserve mode.  Note :  'set sslvpn-max-worker-count, set wad-worker-count, set scanunit-count 2' Commands do not work on FortiOS 7.6 and above, as the features are deprecated on low-end devices. Refer to these release notes: The IPS process count and signature database size can be configured:  Note: Changing IPS global settings causes a brief traffic disruption while processes reload, and the settings above can increase CPU usage of the IPS engine process. Depending on network traffic patterns, the engine-count may need to be increased or the cp-accel-mode modified.  Disable log in memory:  Disable log forwarding to disk:  Reduce session-TTL to improve session recycling efficiency:  Reduce dns-cache:  Reduce webfilter and antispam cache:  Disabled the security rating submission:  Reduce internet-service-database:   In case ISDB is not used at all, disable the automatic update of this Database:   Note 1:  Note 2: For further details, consult Optimizations for physical FortiGate devices with 2 GB RAM 7.6.3.  Note 3: For further details, check this document: Default setting of cp-accel-mode is changed to none on 2GB memory models.
|
