Browse Source

Overcommit vm memory for redis server

Bob Mottram 11 years ago
parent
commit
c6aedc5adc
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      beaglebone.txt

+ 2
- 0
beaglebone.txt View File

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.