How to close swap Partition
This article introduces the relevant knowledge of "how to close the swap partition". Many people will encounter such a dilemma in the operation of the actual case, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
It is easier for God to send God than to send God.
The reason why swap partition is enabled is that 1G of Ali CVM is too bad, and tomcat8 always explodes itself.
But later found that swap really affected the speed, simply incomparably slow, unbearable kind of slow.
It is troublesome to close the swap partition. When deleting swapfile, always prompt: operation not permitted (there may be occupancy)
Look here: https://www.lijiaocn.com/ problem / 2019/02/27/linux-swap-off-fail.html
Https://segmentfault.com/q/1010000019574178?utm_source=tag-newest
First reduce the use of swap, really not, I reboot, free-mh, see swap is 0, can delete swapfile, originally divided into 4 gigabytes, want to replace memory. I don't think so. what's good about it?
That's all for "how to close swap Partition". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!