(Server: Ubuntu Xenial 64bit)
/etc/security/limits.conf has the following lines:
* soft nofile 24576
* hard nofile 32768
redis soft nofile 24576
redis hard nofile 32768
I have configured the user limits for the redis
user:
redis@myserver:~$ ulimit -n
24576
/etc/redis/redis.conf has the following line:
maxclients 24000
Yet, when I grab the maxclients
configuration parameter I am still getting the unexpected value:
127.0.0.1:6379> config get maxclients
1) "maxclients"
2) "4064"
Could someone please explain to me what is going on here??