When I start the redis-server, it will show following warning in log file
1900:M 15 Jul 11:50:27.104 # Redis can’t set maximum open files to 10032 because of OS error: Operation not permitted.
1900:M 15 Jul 11:50:27.104 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
I had changed the values in /proc/sys/fs/file-max and /etc/security/limits.conf but it seems redis-server does not affect by these settings.
Is there any other settings I should change?