I recently checked one of our redis processes to what ulimits where applied using:
And was suprised to learn that is was at the low default value:
Limit Soft Limit Hard Limit Max open files 4016 4016
I was suprised, because we have the following configured:
# /etc/sysctl.conf fs.file-max = 100000
# /etc/security/limits.conf * soft nofile 100000 * hard nofile 100000
# /etc/ssh/sshd_config UsePAM yes
# /etc/pam.d/sshd session required pam_limits.so
Can anyone tell me why the increased ulimit is not being applied to the running redis process?
The redis process is running as the user 'redis', the server has been rebooted since the limits were increased. We are on Debian Squeeze.