Skip to main content
jhimanshu
Staff
Staff
June 25, 2025

Troubleshooting Tip: /var/log consuming high disk space

  • June 25, 2025
  • 0 replies
  • 388 views
Description This article describes how to reduce disk space consumption by the /var/log partition.
Scope FortiSOAR.
Solution

The FortiSOAR instance may encounter issues due to an increase in the disk space consumption of the /var/log partition of FortiSOAR.

Verify which log file is increasing and consuming the most space by running the following command in the FortiSOAR CLI:


du --max-depth=3 -xh /var/log/* | sort -hr | head -n 20

Review the log file to identify and resolve the underlying issue. If necessary, contact Fortinet TAC for assistance.

If disk space usage reaches a higher percentage, capture the errors being printed. To prevent disruptions, use the following command:


echo > /var/log/<file path>        <----- Insert the name of the file which is increasing in size.