-
Redis 설치 후, vm.overcommit_memory = 1;데이터베이스/redis 2023. 9. 20. 15:31
/var/log/redis/redis-server.log
----------------------------------------
WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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.
----------------------------------------
아래 커멘드 실행함.
sudo sysctl vm.overcommit_memory=1;
'데이터베이스 > redis' 카테고리의 다른 글
redis maxmemory 값 설정에 대한 몇 가지 고려해야 할 사항 (0) 2024.01.16 redis 설정 파일 확인 및 편집 (0) 2024.01.16 ubuntu 에서 redis 설치 (0) 2024.01.16