Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am facing a challenge in setting the file descriptor in RHEL. Even i change the limits.conf and /etc/sysctl.conf I could not able to see the new value in ulimit –n under infaadmin user.
Can you please suggest?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Limit in infaadmin user
I have changed the sysctl.conf file in below folder.
[infaadmin@infabdm ~]$ cat /etc/sysctl.conf
# System default settings live in /usr/lib/sysctl.d/00-system.conf.
# To override those settings, enter new settings here, or in an /etc/sysctl.d/<name>.conf file
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
fs.file-max = 65535
I tried to reset the value for a specific user. it is throwing below privilege issue.
[infaadmin@infabdm security]$ ulimit -n 32000
-bash: ulimit: open files: cannot modify limit: Operation not permitted
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Let me know if you have any suggestions
Hi All
I am new to RHEL administration. I am facing a challenge in setting the file descriptor in RHEL. Even i change the limits.conf and /etc/sysctl.conf I could not able to see the new value in ulimit –n under infaadmin user.
Can you please suggest?
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Limit in infaadmin user
I have changed the sysctl.conf file in below folder.
[infaadmin@infabdm ~]$ cat /etc/sysctl.conf
# System default settings live in /usr/lib/sysctl.d/00-system.conf.
# To override those settings, enter new settings here, or in an /etc/sysctl.d/<name>.conf file
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
fs.file-max = 65535
I tried to reset the value for a specific user. it is throwing below privilege issue.
[infaadmin@infabdm security]$ ulimit -n 32000
-bash: ulimit: open files: cannot modify limit: Operation not permitted
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Let me know if you have any suggestions
You don't say what version/distro of Linux you're using, but assuming you're using RHEL (since you mention it), you DID edit those files as root, correct?? You logged out and back in too, right? Because if you don't, you won't get the new values.
And assuming this is an Informatica installation on RHEL...BOTH are commercial, pay-for products. Did you contact RHEL and/or Informatica support??? If you're new to RHEL administration, you need to use the professional support you're paying for first, ALWAYS. You pay for such things...use them for their purpose, and (most importantly) LEARN from them.
fs.file-max is the sum of all file descriptors of all processes on the system, and should be much bigger than 65535!
limits.conf is deprecated, please use limits.d/* files instead!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.