Re: open files
Posted by
ErmanArslansOracleBlog on
May 29, 2021; 8:11am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/open-files-tp9811p9814.html
Check the apps processes and see if they are getting the correct/updated limits..
Check it using /proc filesystem while the applications are running.. Get one the application pids and get its limits from /proc.
Ensure you have modified the limits.conf correctly. (that "test" over there is the OS user name bytheway.. so your OS user name is test ?)
Ensure you don't have any other script that overrides your setting in limits.conf.. connect with the OS user that owns the applications and check with ulimit command.
For instance -> in Redhat 5,6,7,8 there is a note like below;
Note that the nproc setting can no longer be set in limits.conf. Please use /etc/security/limits.d/90-nproc.conf instead. Setting nproc in /etc/security/limits.conf has no effect in Red Hat Enterprise Linux.
There is an option for unlimited setting as well.. see
https://linux.die.net/man/5/limits.confSo you write unlimited rather than the value.. However; making the limits unlimited may be a dangerous move in some environments.. I mean, misbehaving apps/process can get very high resources as there will be no limit for stopping them.