浏览代码

Overcommit vm memory for redis server

Bob Mottram 11 年前
父节点
当前提交
c6aedc5adc
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      beaglebone.txt

+ 2
- 0
beaglebone.txt 查看文件

4533
 cd /opt/pump.io
4533
 cd /opt/pump.io
4534
 npm install
4534
 npm install
4535
 npm install databank-redis
4535
 npm install databank-redis
4536
+echo "vm.overcommit_memory=1" >> /etc/sysctl.conf
4537
+sysctl vm.overcommit_memory=1
4536
 #+END_SRC
4538
 #+END_SRC
4537
 
4539
 
4538
 Now edit the configuration file.
4540
 Now edit the configuration file.