标签:
起因是今天一台服务器ssh突然没有反应,通过阿里云的终端才发现swap一直提示为0KB
通过命令
[root@hj_product ~]# free -m total used free shared buffers cached Mem: 3959 3178 780 0 226 2150 -/+ buffers/cache: 800 3158 Swap: 0 0 0
才发现swap根本就没有设置
于是看了下别人增加swap的方法。原文:http://blog.chinaunix.net/uid-24373487-id-83864.html
标签:
原文地址:http://www.cnblogs.com/honeybaobao/p/4744367.html