- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: current limits of a process
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
Forums
Discussions
Discussions
Discussions
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
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
11-18-2010 12:57 AM
11-18-2010 12:57 AM
The configuration file /etc/security/limits.conf contains the limits per user.
Once a process is created (for instance, PID 333) its limits can be displayed using
cat /proc/333/limits
BUT only in some of my nodes... not in others
How can I select/unselect that feature?
Does it depend on kernel version or on a specific kernel module?
Thanx in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2010 01:33 AM
11-18-2010 01:33 AM
Re: current limits of a process
...Yes, seems like it: it does not exist in even the latest 2.4.xx kernel.
It is defined in
But because only the owner of the process (or root, of course) can view the limits, I don't see how this feature could cause a...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2010 02:54 AM
11-18-2010 02:54 AM
Re: current limits of a process
For instance:
# uname -a
Linux mynode 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)
# cat /proc/$$/limits
cat: /proc/13905/limits: No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2010 03:24 AM
11-18-2010 03:24 AM
Re: current limits of a process
'man 5 proc' says:
/proc/[number]/limits (since kernel 2.6.24)
Does this help?
Regards,
Goran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2010 03:31 AM
11-18-2010 03:31 AM
SolutionThis is a RHEL 4 system. Notice it has been updated since the initial release of RHEL 4:
$ cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 7)
$ uname -a
Linux myhost 2.6.9-78.0.17.ELsmp #1 SMP Thu Mar 5 04:58:34 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/$$/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
[...]
According to kernel.org Gitweb, the /proc/
...Yes, looking at RHEL release notes, this feature was added in RHEL 5.2 and in RHEL 4.7.
(Wikipedia's RHEL page includes the release dates of each update release and links to the release notes, so it's easy to check the appropriate sets of release notes.)
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2010 11:03 PM
11-18-2010 11:03 PM