I see that different users in my Debian system has different max open files limits. I read the post but would like to get some understanding of the details. I do not have any settings into /etc/security/limits.conf
but:
mysql seems to follow kernel values:
Max open files 1024 4096
redis has different values:
Max open files 4096 4096
Does it raise it by default with setrlimit
call?
root has another values:
Max open files 65536 65536
Are the special root values hardcoded somewhere or where should I seek for the settings?