LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-02-2019, 09:49 AM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 284

Rep: Reputation: 17
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.
 
Old 10-02-2019, 10:04 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,671

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by manoj.linux View Post
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ulimit -s 40960 vs ulimit ulimit -s 10240 centguy Linux - Software 2 10-22-2016 11:38 PM
ulimit Serena Linux - Software 6 12-17-2014 11:04 PM
[SOLVED] Cannot set ulimit -l, says ulimit: max locked memory: cannot modify limit Xiano Slackware 1 07-24-2014 02:58 AM
Centos 6.4 ulimit and HAProxy issue dnyaneshwar.sonawane Linux - Server 4 05-29-2014 01:55 PM
ulimit -n evilrico Linux - Distributions 0 03-14-2003 04:23 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration