2019年05月01日Centos7添加swap文件注意:(Redhat5官方推荐)RAM<=4G,swap=2G;RAM>4G,<16G,swap=4G;RAM>16G,<64G,swap=8G;RAM>64G,<256G,swap=16G(Redhat6/7官方推荐)RAM<=2G,swap=2*RAM;RAM>2G,<8G,swap=RAM;RAM>8G,<64G,swap>=4G;RAM>=64G,swap>=4G;(休眠状态另外考虑)添加swap有