Description | This article describes how to troubleshoot high CPU issues when log_se is high. |
Scope | FortiGate, FortiGate-VM. |
Solution |
There are scenarios in which the user is using a disk for logging, and if disk rollover is not happening as per the settings. Log_se process may go high as below.
diagnose sys top 1 10
Run the command 'get sys perf status', 'dia sys mpstat', and 'dia sys top 1 10' to see in which area the load is present consistently. The output will be something like below (depending on the number of cores the unit has):
The first line, 'CPU states:' shows the average load across all CPU cores.
get sys perf stat
In some cases ,the CPU goes high do to iowait and can relate to the log_se issue based on the below logs:
CPU states: 0% user 0% system 7% nice 2% idle 91% iowait 0% irq 0% softirq
diagnose sys top 1 10
Related article:
There is a chance that the firewall disk is not functioning correctly if log_se is high. Try disabling the log_se as a temporary workaround. config log disk setting
If below is the case, then try a workaround by reducing the log-age:
config log disk setting
Then reduce the log age to 7.
config log disk setting
execute formatlogdisk
It is possible to perform a failover and see if another firewall disk is healthy, or to format the disk for the fix if suspected issue with the disk malfunctioning.
Log to be collected:
CLI Session (1) get sys perf status diag sys top 2 50 diag sys mpstat 2
For disk logging-related debug:
diagnose debug reset
Monitor CPU utilization of 'log_se' processes from FortiGate CLI Session (1) and then stop debugging once the processes are gone and the CPU is back in a normal state.
Collect the logs below to verify the disk log storage.
fnsysctl ls -l /var/log/log/root |
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.