Pārlūkot izejas kodu

Overcommit vm memory for redis server

Bob Mottram 11 gadus atpakaļ
vecāks
revīzija
c6aedc5adc
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      beaglebone.txt

+ 2
- 0
beaglebone.txt Parādīt failu

@@ -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.