LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   ulimit issue (https://www.linuxquestions.org/questions/linux-enterprise-47/ulimit-issue-4175661874/)

manoj.linux 10-02-2019 09:49 AM

ulimit issue
 
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.

TB0ne 10-02-2019 10:04 AM

Quote:

Originally Posted by manoj.linux (Post 6042904)
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.

Ok...we'll suggest you go back to several of your other threads, going back TEN YEARS asking about limits/oracle, and read them:
https://www.linuxquestions.org/quest...ilable-766714/
https://www.linuxquestions.org/quest...ed-4175651997/
https://www.linuxquestions.org/quest...ly-4175449118/

Again: if you're having trouble with Oracle, contact Oracle support. They have comprehensive guides for installation, and if you follow them, you should get things working; have you set the users profile to inherit those things? Set the proper Oracle variables?


All times are GMT -5. The time now is 01:44 PM.