I'm reading a oracle guide for installing a Database on redhat 6, but i don't understand why oracle recommend to set the file-max system parameter and nofile in /etc/sysctl.conf
http://docs.oracle.com/cd/B28359_01/install.111/b32285/toc.htm#LTDQI127
So if i set nofile in /etc/security/limits.conf for oracle user, why i need to set a limit for the system wide?
Oracle parameters example in /etc/sysctl.conf:
fs.file-max = 65536 <------ UMMMMMMM ---->
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
Oracle parameters example /etc/security/limits.conf:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536 <----- UMMM so the hard limits of the oracle users is equal to the maximum system wide ---->
I think this oracle parameters are incorrect, but i would like have some feedback about this.