vm.overcommit_memory

Ҵ   
   ȸ 11917  

redis 서버를 start 하니 아래와 같은 메시지가 나왔습니다.

[29130] 18 May 21:13:17.081 # Server started, Redis version 2.6.13
[29130] 18 May 21:13:17.081 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[29130] 18 May 21:13:17.081 * The server is now ready to accept connections on port 6379

/etc/sysctl.conf에 아래의 설정을 추가해 줍니다.
vm.overcommit_memory = 1
그리고 명령을 실행. 설마 이것 때문에 reboot???
sysctl vm.overcommit_memory=1

참조.
- opencode.co.kr -


Page 2/2
     
2015-09   107369   Ҵ
2016-05   61067   Ҵ
2011-12   224019   Ҵ
2015-11   86302   Ҵ
2016-06   57957   Ҵ
2013-05   12131   Ҵ
2013-06   10332   Ҵ
2013-05   9943   Ҵ