Troubleshooting : Solutions by issue type : Resource issues : Killing system-intensive processes
 
Killing system-intensive processes
Use the CLI to view the per-CPU/core process load level and a list of the most system-intensive processes. This may show processes that are consuming resources unusually. For example:
diagnose system top 10
The above command generates a report of processes every 10 seconds. The report provides the process names, their process ID (pid), status, CPU usage, and memory usage.
The report continues to refresh and display in the CLI until you press q (quit).
Once you locate an offending PID, you can terminate it:
diagnose system kill 9 <pid_int>
To determine if high load is frequently a problem, you can display the average load level by using these CLI commands:
get system performance
diagnose system load
For more information, see the FortiWeb CLI Reference.
If the issue recurs, and corresponds with a signature or configuration change, you may need to optimize regular expressions to prevent the issue from recurring. See “Debugging the packet processing flow” and “Regular expression performance tips”.