Description |
This article describes how to identify which exact WAD process is consuming memory and how to diagnose it further if it is the WAD cert-manager process consuming high memory. |
Scope | FortiGate. |
Solution |
The WAD cert-manager process is one of many WAD processes running on the FortiGate. The following article describes the high memory usage of the wad cert-manager process. For a general introduction to the WAD process and its processes, refer to the article Technical Tip: Overview of WAD process structure.
High memory in the WAD cert-manager does not necessarily mean that it is a memory leak. The memory for the certificate manager is cached for days, so high memory usage can be observed.
As for all memory issues, first identify the category in which most memory is allocated. In this example, it is the WAD process consuming high memory, so active memory will be high.
FGT # get sys performance status
get hardware memory
FGT # diagnose sys top-mem 99
To identify which specific WAD process is consuming high memory, note the process ID (PID) from the diagnose sys top-mem command and look for it in the diagnose test application wad 1000 output. In this example, the process ID is 29105 and the type is cert-manager.
Process [15]: type=cert-manager(10) index=0 pid=29105 state=running
Additional information about the cert-manager process will not be included in the diagnose wad memory report output. Instead, this process will need to be selected manually to gather information. Refer to this article: Technical Tip: Overview of WAD process structure for the manual selection process.
In diagnose wad stats output the following buffers can be seen with higher usage.
diagnose wad stats
As a workaround, reduce the certificate manager cache timeout under:
config firewall ssl setting set cert-manager-cache-timeout
The default timeout is 72 hours. In this instance, it is best to reduce it to the minimum, which is 24 hours. To get an indication of whether it is a memory leak or just normal high usage, confirm whether the WAD certificate manager process's memory usage drops after this amount of time has passed.
If it is not dropping, it indicates a memory leak. In such a scenario, open a ticket with the TAC.
For log collection, use the commands below. The process type of the WAD cert-manager might not be the same as in the example above, and the command diagnose test application wad 21000 needs to be changed accordingly.
get sys status |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.