- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- /etc/security/limits.conf Limits - does it overrid...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 06:14 AM
тАО03-02-2011 06:14 AM
I thought the limits.conf file but I would like to confirm if this is true?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 06:31 AM
тАО03-02-2011 06:31 AM
SolutionA regular user can _decrease_ his/her hard ulimits, but cannot increase them.
In your example, when the user's session is initiated, PAM sets the limit to 256k. When the .profile script begins executing, it further reduces the limit to 64k.
If the .profile changes the soft limit only, the user can later increase the limit back to whatever is the hard limit value. But if the .profile changes the hard limit, the only way the user can restore the 256k limit value is to edit his/her .profile to remove the ulimit command, then logout and login again.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 06:38 AM
тАО03-02-2011 06:38 AM
Re: /etc/security/limits.conf Limits - does it override uname profile settings?
If user has "ulimit -n 65535" in its profile -- is it soft or hard limit that is being set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 07:17 AM
тАО03-02-2011 07:17 AM
Re: /etc/security/limits.conf Limits - does it override uname profile settings?
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 07:35 AM
тАО03-02-2011 07:35 AM
Re: /etc/security/limits.conf Limits - does it override uname profile settings?
In your experience, in an Oracle environment (11G).. would a lack in filehandles to oracle result in a hang and would the OS/Oracle be screaming all over for such a lack?
We've a lingering issue wherein a very stable 10G environment ot upgraded to 11G. Our DBAs had .profile settings for ulimits to nofile set to 64K. Ever since -- it's been hanging. SAR logs (5 minute intervals) do not show us exceeding 64K file handles but we're very close -- shy of 1000 file handles. After the hang (a forced rset)... Oracle logs do not even show if that limit was reached... In your experience -- would this lack of file handles to oracle result in such a scenario?
We've since increased limits.conf for oracle and removed ulimit declarations in /etc/profile and restarted the DB... we're running 12 hours with no issues yet. I've also started closer inetrval sar stats to capture file handle usage.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2011 01:54 PM
тАО03-03-2011 01:54 PM
Re: /etc/security/limits.conf Limits - does it override uname profile settings?
Remember that network sockets may count towards the file descriptor limit too.
MK