Skip to main content
jhimanshu
Staff
Staff
November 26, 2025

Technical Tip: Steps to disable swap on the instance

  • November 26, 2025
  • 0 replies
  • 119 views
Description This article describes the steps that can be used to disable swap on the FortiSOAR Linux Machine.
Scope FortiSOAR.
Solution FortiSOAR is being hosted on Linux OS. The user can refer to the steps below to disable swap.

# swapoff -a
# cp -a /etc/fstab /home/csadmin/fstab.bkp
# vi /etc/fstab


Locate the line containing the swap entry, add a '#' at the beginning to comment it out, and then save the file using: wq!.

 

# mount -a
# systemctl daemon-reload

 

Confirm the swap is disabled using the command below:

 

# free -gh       <-- Output would show swap as 0.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.