Description | This article describes the debugs to be captured for the high CPU Issues |
Scope | FortiGate 6.2,6.4,7.0,7.2. |
Solution |
1) Check which part of the unit is consuming the most CPU i.e user/kernel/Soft IRQ:
2) Check the demons consuming the most CPU. It is possible to do not see any demon consuming the CPU, but the CPU is at 100% which could be due to the Layer2 broadcast, multicast, etc. hitting the FortiGate:
3) Collect the CPU interrupt:
4) Collect general session info:
5) session dirty:
6) collect session np offload info:
7) To confirm if the routing change is not causing the CPU to spike( run the command multiple times to confirm if the Fib version is not changing):
8) Collect the CPU profiling for the cores consuming high. In case multiple cores are consuming high CPU then, it is not necessary to put a filter:
# diagnose sys profile cpumask <ID of the CPU running high>
Take another Putty session to ensure the specific CPU cores filtered are still spiking:
9) Take the dump of the demon causing high CPU:
# diagnose sys process dump <PID> |
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 2023 Fortinet, Inc. All Rights Reserved.