How To Add Swap on CentOS 7
One of the easiest ways to make your server more responsive, and guard against out-of-memory errors in your application, is to add some swap space. This gives you the ability to increase the amount of information that your server can keep in its working memory. In this guide, we will cover how to create and enable a swap file on a CentOS 7 server.