XEN and other architecture VPS have SWAP (swap partition). When the physical memory is close to saturation, the system will automatically dump the infrequent memory files into SWAP, but the SWAP usage rate may have a certain impact on system performance when it reaches 30%. For VPS or servers with large physical memory, or depending on your own server, consider manually turning off or refreshing the SWAP partition.
First, SWAP switch: 1, close SWAP is generally used for large physical memory server
swapoff -a
Execute the above command in SSH, you can close SWAP partition . 2. Open SWAP
swapon -a
Execute the above command in SSH to open the SWAP partition.
Second, refresh SWAP when the SWAP occupancy rate is as high as 30%, may have a certain impact on system performance, so in appropriate circumstances, we can perform the above two commands to refresh the SWAP (will SWAP data) Dump back to memory and empty the data in SWAP)
swapoff -a && swapon -a
Execute the above command in SSH to achieve the corresponding purpose.
In fact, the principle of refreshing SWAP is to close swap and then restart.
Understanding the difference between common mode and differential mode signals is critical to unders
As a Linux enthusiast, after several determinations, he gave up the dual system and installed Linux
1.LinuxOSVersion:RedHat AS 52. Network Environment Settings: Host (Linux): IP: 192.168.1.1 NetMark:
First, download the magent download address: http://pan.baidu.com/s/1eRygtEUmkdir -p /usr/local/mag
Linux system management and maintenance - tar command
About gdb command knowledge in Linux system
Neighbor subsystem of linux protocol stack (related process 4)
How to use FSlint to find and delete duplicate files on Linux
How to find the zombie process and Kill, can't kill the parent process and kill
Linux displays the Chinese character file name on the FAT partition
Shell awk real-time monitoring network card traffic script (common application 2)
Microsoft set up 100 Windows7 technology consulting service stations in Taiwan
Win8.1 error Ntfs.sys blue screen solution
How to close the website on the Linux server?
Win 7 is not compatible with Thunder? IE8 troubles
The 20 advantages of Linux and Windows
How to solve the problem of double-clicking IE under Win7 to enter the download page
Host machine, virtual machine linux, development board linux network settings (can ping each other)
How to open the do not disturb time when playing games with Win10?