瀏覽代碼

Overcommit vm memory for redis server

Bob Mottram 11 年之前
父節點
當前提交
c6aedc5adc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      beaglebone.txt

+ 2
- 0
beaglebone.txt 查看文件

@@ -4533,6 +4533,8 @@ git clone https://github.com/e14n/pump.io.git
4533 4533
 cd /opt/pump.io
4534 4534
 npm install
4535 4535
 npm install databank-redis
4536
+echo "vm.overcommit_memory=1" >> /etc/sysctl.conf
4537
+sysctl vm.overcommit_memory=1
4536 4538
 #+END_SRC
4537 4539
 
4538 4540
 Now edit the configuration file.