S4hosting

Member
Jul 30, 2021
20
1
3
India
cPanel Access Level
Root Administrator
System Information
System ItemDetailsStatus
Server Load0.179688 (2 CPUs)
Memory Used51.9% (976,680 of 1,881,864)
Swap Used91.68% (479,700 of 523,260)


swapoff -a as root to swap all memory back in. Don't forget to run swapon -a afterwards to make swap available again. Note that swapoff will fail if there is not enough physical memory available to swap everything back in.

the above command will fix my issue?
 

S4hosting

Member
Jul 30, 2021
20
1
3
India
cPanel Access Level
Root Administrator
how to monitor that i have tried this commands sar -r/sar-s both not showing the swap memory details and too SI and SO. right now temporarily rebooted the server and swap memory back to 0 dont know whether it will be fix or not. I think after install Nginx didn't reboot my vps is that created this issue?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,418
1,000
313
cPanel Access Level
Root Administrator
There is no need to reboot the system after Nginx has been installed, so I would not expect that to be related.

In many cases, high swap usage isn't necessarily a problem, as outlined here:


Can you work through that guide to see if that helps you track down additional information?