FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sbseeu
Staff
Staff

Description
This article describes how to fix WAD process memory leak by restarting the process every few hours.

Solution

Use the following command for a FortiGate without VDOMs:
#config system auto-script
edit restart_wad
set interval 43200
set repeat 356
set start auto
set script 'diag test app wad 99'
next
end

 

Use the following command in case FortiGate has VDOMs:
#config system auto-script
edit restart_wad

set interval 43200

set repeat 356

set start auto

set script '

config global

diag test app wad 99'

next

end
This specific script will run every 12 hours and for 356 times. Change the settings to required need or remove the script once the permanent solution is available.

Related Articles

Use of auto-script for repeating commands on Fortigate
Contributors