瀏覽代碼

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.