Not able to increase Open File limit(ulimit -n)
I want to increase Open file limit of my server to 300000 but i am not able to update it.
I have applied below changes-
ulimit -n 300000
echo "fs.file-max= 300000" >> /etc/sysctl.conf
echo "* soft nofile 300000" >> /etc/security/limits.conf
echo "* hard nofile 300000" >> /etc/security/limits.conf
echo "session required pam_limits.so" >> " /etc/pam.d/common-session"
Reboot the server but still no success it's set as default.