Redis Server installation FAQs
OS: CentOS 7 Minimal (0) open files Q: Increased maximum number of open files to 10032 (it was originally set to 1024). A: $ulimit - a $ vi /etc/systemd/system/redis.service In the "[Service]" unit, add the following: LimitNOFILE= 10032 (1) somaxconn Q: WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. A: $vi /etc/sysctl.conf net.core.somaxconn= 1024 (2) overcommit_memory Q: WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1'