ulimit issue
by manoj.linux from LinuxQuestions.org on (#4RN7S)
Hi,
I was getting error "too many files open on oracle linux 7.6" for test user, so i have done the below changes in /etc/security/limits.conf
test soft nofile 1048576
test hard nofile 1048576
but even doing above changes also with test user logout and login, still test user was getting same error too many files open
so i have done the changes below to add more nofile.
in /etc/sysctl.conf
fs.file-max = 49389904
sysctl -p
in /etc/security/limits.conf
test soft nofile 4194304
test hard nofile 4194304
now test user is unable to login and i have to increase nofile parameter for test user
please suggest.


I was getting error "too many files open on oracle linux 7.6" for test user, so i have done the below changes in /etc/security/limits.conf
test soft nofile 1048576
test hard nofile 1048576
but even doing above changes also with test user logout and login, still test user was getting same error too many files open
so i have done the changes below to add more nofile.
in /etc/sysctl.conf
fs.file-max = 49389904
sysctl -p
in /etc/security/limits.conf
test soft nofile 4194304
test hard nofile 4194304
now test user is unable to login and i have to increase nofile parameter for test user
please suggest.