Article 4RN7S ulimit issue

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.latest?d=yIl2AUoC8zA latest?i=_flFSerNdNs:JGg2a5GtBr8:F7zBnMy latest?i=_flFSerNdNs:JGg2a5GtBr8:V_sGLiP latest?d=qj6IDK7rITs latest?i=_flFSerNdNs:JGg2a5GtBr8:gIN9vFw_flFSerNdNs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments