Increase Swap in Azure Instances
[root@<Server> ~]# vi /etc/waagent
[root@<Server> ~]# vi /etc/waagent.conf
ResourceDisk.SwapSizeMB=14336
<Enable this Parameters>
ResourceDisk.EnableSwap=y
[root@<Server> ~]# systemctl restart waagent
[root@<Server> ~]# free -h
total used free shared buff/cache available
Mem: 27G 1.9G 11G 141M 14G 24G
Swap: 15G 0B 15G
Comments
Post a Comment