swappoff command
System Information
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?
| System Item | Details | Status |
|---|---|---|
| Server Load | 0.179688 (2 CPUs) | |
| Memory Used | 51.9% (976,680 of 1,881,864) | |
| Swap Used | 91.68% (479,700 of 523,260) |
-
Hey there! Is your server consistently using a large amount of swap? If so, it would be best to determine what users or services are causing that issue, rather than trying to dump the swap memory. 0 -
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? 0
Please sign in to leave a comment.
Comments
3 comments