Red Hat Bugzilla – Bug 468380
backport /proc/<pid>/limits feature
Last modified: 2009-06-20 03:51:53 EDT
Feature request based on the discussions from bug 461946:
Linux upstream kernels have the feature that makes it possible to see resource limits of a running process via "cat /proc/<pid>/limits".
Please backport this feature to the RHEL5 kernel.
Helge, what do you exactly need to be backported? As I tested it with 2.6.18-92.el5 I can see resource limits via "cat /proc/<pid>/limits" (unlike rhel4). Thanks.
please take a look at bug 253762, kernel version 2.6.18-60.el5+
in 5.2 GA. Because this feature has already been backported to 253762.
Please let us know if 5.2's implementation does not meet your needs.
Sorry, the short description of bug 461946 was not complete. It should also state, that it should be possible to change the limits during runtime. As an example, "Core file size" is usually set to "0" (no core is written), but you for debugging purposes you have to change this for a certain binary to write a core file w/o restarting it. Therefore, it should also be possible to change the limits of a process during runtime.
Ok, misunderstanding from our side. Showing limits is fine in the first place. You can close this BZ, thx
Ok. Thanks Hannes. Closing the bug.
Closed as "currentrelease", instead of "not a bug", since it was already backported into RHEL 5.2 and it was not in RHEL 5.0.