Description | This article describes how to automatically WAD worker processes using the built-in mechanism. |
Scope | FortiGate v7.2.4 and onward. |
Solution |
FortiOS v7.2.4 has introduced a new feature to configure the auto-restart of WAD worker processes.
That option can be configured under 'config system global'.
A restart of a WAD worker process can be configured based on the following parameters:
The memory leak detection algorithm works like this:
When 'set wad-restart-mode time' is applied and time reaches the time window defined by wad-restart-start-time and wad-restart-end-time, WAD will gracefully restart;
The default option is 'wad-restart-mode none' which means that there is no automatic WAD restart.
Syntax:
set wad-restart-mode ? none <- Disable restart of WAD workers. time <- Enable daily restart of WAD workers. memory <- Enable restart of WAD workers based on memory usage.
Restart the WAD in a specific time frame:
config system global set wad-restart-end-time 04:00 set wad-restart-mode time set wad-restart-start-time 01:00 end
Restart the WAD based on memory usage:
config system global set wad-restart-mode memory end
Note: This feature is specifically designed for WAD workers. If the issue persists with other WAD processes and the solution above does not resolve it, consider using Automation Stitches as an alternative method to restart the processes
Related articles: Technical Tip: Overview of WAD process structure Technical Tip: Restart WAD or IPS when conserve mode hits (Automation Stitch) |