<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: current limits of a process in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263267#M52741</link>
    <description>Interesting... apparently it's something RedHat has backported to both RHEL 4 and RHEL 5 kernels in later kernel RPMs.&lt;BR /&gt;&lt;BR /&gt;This is a RHEL 4 system. Notice it has been updated since the initial release of RHEL 4:&lt;BR /&gt;&lt;BR /&gt;$ cat /etc/redhat-release &lt;BR /&gt;Red Hat Enterprise Linux ES release 4 (Nahant Update 7)&lt;BR /&gt;$ uname -a&lt;BR /&gt;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&lt;BR /&gt;$ cat /proc/$$/limits&lt;BR /&gt;Limit                     Soft Limit           Hard Limit           Units     &lt;BR /&gt;Max cpu time              unlimited            unlimited            seconds   &lt;BR /&gt;Max file size             unlimited            unlimited            bytes     &lt;BR /&gt;Max data size             unlimited            unlimited            bytes    &lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;According to kernel.org Gitweb, the /proc/&lt;PID&gt;/limits feature was committed to Linus's main kernel source tree on 2007-10-19. I guess RedHat has backported it and included it to their RHEL 4 and RHEL 5 kernel updates at some date after that. &lt;BR /&gt;&lt;BR /&gt;...Yes, looking at RHEL release notes, this feature was added in RHEL 5.2 and in RHEL 4.7.&lt;BR /&gt;&lt;BR /&gt;(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.) &lt;BR /&gt;&lt;BR /&gt;MK&lt;/PID&gt;</description>
    <pubDate>Thu, 18 Nov 2010 11:31:00 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2010-11-18T11:31:00Z</dc:date>
    <item>
      <title>current limits of a process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263263#M52737</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The configuration file /etc/security/limits.conf contains the limits per user.&lt;BR /&gt;&lt;BR /&gt;Once a process is created (for instance, PID 333) its limits can be displayed using&lt;BR /&gt;cat /proc/333/limits&lt;BR /&gt;BUT only in some of my nodes... not in others&lt;BR /&gt;&lt;BR /&gt;How can I select/unselect that feature?&lt;BR /&gt;Does it depend on kernel version or on a specific kernel module?&lt;BR /&gt;&lt;BR /&gt;Thanx in advance</description>
      <pubDate>Thu, 18 Nov 2010 08:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263263#M52737</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2010-11-18T08:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: current limits of a process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263264#M52738</link>
      <description>The virtual file /proc/&lt;PID&gt;/limits does exist in RHEL 4 and later, but not in RHEL 3. It might be a feature of the Linux 2.6.xx kernel series.&lt;BR /&gt;&lt;BR /&gt;&lt;A brief="" kernel.org="" gitweb="" browsing="" session="" later="" target="_blank"&gt;&lt;BR /&gt;...Yes, seems like it: it does not exist in even the latest 2.4.xx kernel. &lt;BR /&gt;&lt;BR /&gt;It is defined in &lt;KERNEL_SOURCE&gt;/fs/proc/base.c, so it's part of the base feature set of the /proc filesystem. It cannot be disabled without changing the kernel source code or disabling the entire /proc filesystem.&lt;BR /&gt;&lt;BR /&gt;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 any harm. &lt;BR /&gt;&lt;BR /&gt;The owner of each /proc/&lt;PID&gt;/limits file is equal to the owner of the respective process, and the permissions of the file are 400 (-r--------). &lt;BR /&gt;&lt;BR /&gt;MK&lt;/PID&gt;&lt;/KERNEL_SOURCE&gt;&lt;/A&gt;&lt;/PID&gt;</description>
      <pubDate>Thu, 18 Nov 2010 09:33:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263264#M52738</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-18T09:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: current limits of a process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263265#M52739</link>
      <description>I agree that kernels before 2.6 hadn't this feature but all my nodes are 2.6 and some of them have it and other haven't.&lt;BR /&gt;&lt;BR /&gt;For instance:&lt;BR /&gt;# uname -a&lt;BR /&gt;Linux mynode 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux&lt;BR /&gt;&lt;BR /&gt;# cat /etc/redhat-release &lt;BR /&gt;Red Hat Enterprise Linux Server release 5 (Tikanga)&lt;BR /&gt;&lt;BR /&gt;# cat /proc/$$/limits&lt;BR /&gt;cat: /proc/13905/limits: No such file or directory</description>
      <pubDate>Thu, 18 Nov 2010 10:54:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263265#M52739</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2010-11-18T10:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: current limits of a process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263266#M52740</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;'man 5 proc' says:&lt;BR /&gt;&lt;BR /&gt;/proc/[number]/limits (since kernel 2.6.24)&lt;BR /&gt;&lt;BR /&gt;Does this help?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Goran</description>
      <pubDate>Thu, 18 Nov 2010 11:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263266#M52740</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2010-11-18T11:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: current limits of a process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263267#M52741</link>
      <description>Interesting... apparently it's something RedHat has backported to both RHEL 4 and RHEL 5 kernels in later kernel RPMs.&lt;BR /&gt;&lt;BR /&gt;This is a RHEL 4 system. Notice it has been updated since the initial release of RHEL 4:&lt;BR /&gt;&lt;BR /&gt;$ cat /etc/redhat-release &lt;BR /&gt;Red Hat Enterprise Linux ES release 4 (Nahant Update 7)&lt;BR /&gt;$ uname -a&lt;BR /&gt;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&lt;BR /&gt;$ cat /proc/$$/limits&lt;BR /&gt;Limit                     Soft Limit           Hard Limit           Units     &lt;BR /&gt;Max cpu time              unlimited            unlimited            seconds   &lt;BR /&gt;Max file size             unlimited            unlimited            bytes     &lt;BR /&gt;Max data size             unlimited            unlimited            bytes    &lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;According to kernel.org Gitweb, the /proc/&lt;PID&gt;/limits feature was committed to Linus's main kernel source tree on 2007-10-19. I guess RedHat has backported it and included it to their RHEL 4 and RHEL 5 kernel updates at some date after that. &lt;BR /&gt;&lt;BR /&gt;...Yes, looking at RHEL release notes, this feature was added in RHEL 5.2 and in RHEL 4.7.&lt;BR /&gt;&lt;BR /&gt;(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.) &lt;BR /&gt;&lt;BR /&gt;MK&lt;/PID&gt;</description>
      <pubDate>Thu, 18 Nov 2010 11:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263267#M52741</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-18T11:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: current limits of a process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263268#M52742</link>
      <description>thanx everyone</description>
      <pubDate>Fri, 19 Nov 2010 07:03:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/current-limits-of-a-process/m-p/5263268#M52742</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2010-11-19T07:03:42Z</dc:date>
    </item>
  </channel>
</rss>

