Swap

From VoIPmonitor.org
Revision as of 10:56, 7 May 2020 by Milan (talk | contribs) (Created page with "== Swap == Swap usage can lead to performance degradation of your server. So we highly recommend to disable swap space and increase the memory. How to disable swap space: ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Swap

Swap usage can lead to performance degradation of your server. So we highly recommend to disable swap space and increase the memory.

How to disable swap space:

root@vmsniff:~# swapoff -a

Then edit the /etc/fstab file and comment out the swap lines. E.g.

proc            /proc           proc    defaults        0       0
# / was on /dev/md0 during installation
UUID=17e56a9a-0f42-44ca-90e8-570315708def /               xfs     relatime        0       1
# swap was on /dev/sda2 during installation
#UUID=0a403f5e-0505-4055-a219-70217b6b74d1 none            swap    sw              0       0
# swap was on /dev/sdb2 during installation
#UUID=4cf42564-4339-42ed-b7ec-29644a3085f1 none            swap    sw              0       0