Skip to main content
jhimanshu
Staff
Staff
June 25, 2025

Troubleshooting Tip: /var/log consuming high disk space

  • June 25, 2025
  • 0 replies
  • 436 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.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT