Skip to main content
ctanapip
New Member
March 26, 2026
Question

FortiGate configuration for conserve mode

  • March 26, 2026
  • 3 replies
  • 302 views

As part of investigation by checking sample of 100 Fortigate sites from 800+ sites. The data showed that 48 Fortigate sites out of 100 sites having memory conserve mode based on crashlogs. It appears that it took a second when entering and then existing memory conserve mode. Some nodes showed multiple conserve mode instances. 

 

Example:

29: 2026-03-09 17:47:57 green="1572 MB" msg="Kernel enters memory conserve mode"
63: 2026-03-09 17:47:58 service=kernel conserve=exit total="1918 MB" used="1541 MB" red="1687 MB"  

 

The customer has 800+ Fortigate sites. I'd like to be sure that no impact to the customer given their large deployment. I was told that the configuration below will help to resolve the conserve mode. 

 

Two questions are:

  1. Can someone help to explain what the configuration below does and how it will help? Is it the best solution to resolve or eliminate conserve mode? 
  2. Are there any impacts and drawbacks?

#----------------------------------------------

config system global

    set miglogd-children 1

    set sslvpn-max-worker-count 1

    set wad-worker-count 1

    set scanunit-count 2

end

 

diag test application ipsmonitor 99

config ips global

    set engine-count 2

    set cp-accel-mode none

    set exclude-signatures none

end

#----------------------------------------------

Thank you

3 replies

dingjerry_FTNT
Staff
Staff
March 26, 2026

Hi @ctanapip ,

 

First, you need to provide the FGT model and firmware version.

 

1) "miglogd-children"

 

The miglogd is the daemon for logging.  If you configure a FAZ or a syslog server, the miglogd will handle sending logs to the FAZ or syslog server.

 

By default, the "miglogd-children" is 0, which means no limit for the miglogd child processes.  

 

When you set it to 1, if this is a high-end FGT model, which means more sessions, and/or if you enable logging in all or most of the policies, one miglogd child process may not be enough to process loggings.

 

So you may change it to a value between 1 and 15, depending on whether you have any issues with logging.

 

2) "sslvpn-max-worker-count"

This is about the SSL VPN worker.  You know, Fortinet encourages our customers to migrate to IPsec VPN instead of SSL VPN.

 

If you are still using SSL VPN, depending on how many SSL VPN clients you have, you may adjust this value accordingly.

 

3) "wad-worker-count"

The wad process structure is made of multiple processes.  As the name of this setting implies, it is a WAD worker for the WAD daemon.

 

FGT uses the WAD daemon for a lot of services, such as IPS, user authentication, etc, depending on the firmware version.

 

4) "scanunit-count"

The scanunit daemon is for AV scanning.  So again, this value depends on how much traffic you will scan for AV.

 

5) "diag test application ipsmonitor 99"

This is to restart all IPS engines.

 

6) "config ips global"

The settings in this section are to optimize the IPS usage.  All the settings you provided are for memory usage optimization.

 

If you do not use IPS a lot, those settings are good for memory usage optimization.

 

 

 

 

 

 

 

 

dingjerry_FTNT
Staff
Staff
March 26, 2026

@ctanapip , again, those changes can't promise you that they will eliminate the conserve mode.  Because there are too many root causes causing the conserve mode issues.  We have to investigate them case by case.

 

But generally, those adjustments are good for memory usage optimization.

ctanapip
ctanapipAuthor
New Member
March 26, 2026

Hi dingjerry_FTNT,

 

Model: FGT40F

Version: FortiGate 7.0.17,build0682 (GA) (Mature)

 

There is a plan to upgrade frimware from 7.0 to 7.2 and then to 7.4.x later this year.

 

Thank you

dingjerry_FTNT
Staff
Staff
March 26, 2026

Hi @ctanapip 

 

FGT 40F is a lower-end model, usually used just for desktop usage.

 

So I don't think that you will have a lot of traffic on it for logging, and there should be no SSL VPN usage, as well as no much traffic for IPS/AV scanning.

 

So your changes are good enough for this mode and firmware version.