Description |
This article describes how to optimize memory due to reduce the memory consumption for FGR-60F FortiGates in the second, third and fourth generation. This configuration only applies for specific FortiGate models. |
Scope | Low-end FortiGate models with less than 2 GB of RAM. |
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:
config system global
Or schedule an update at off-peak time. For example:
config system autoupdate schedule
Or reduce worker count. For example:
config system global set miglogd-children 1 set sslvpn-max-worker-count 1 set wad-worker-count 1 set scanunit-count 2 end
The IPS process count can be configured:
config ips global
Reduce session-TTL to improve session recycling efficiency:
Reduce dns-cache:
config system dns
Disabled the security rating submission:
config system global
Reduce internet-service-database:
set internet-service-database on-demand end
exe update-ffdb-on-demand
Note: Consider these low-end models have only 2GB of RAM. It is therefore very likely this device will enter conserve mode quickly if there are many sessions in progress for FortiGate. |