Red Hat Bugzilla – Bug 461458
kernel returns EPERM when RLIMIT_NOFILE is set to RLIM_INFINITY
Last modified: 2013-04-30 19:41:15 EDT
Created attachment 316052 [details]
Description of problem:
when I want set open files limit to infinity kernel returns EPERM.
Version-Release number of selected component (if applicable):
$ uname -r
Steps to Reproduce:
try run attached testcase (under root, of course) and see output from strace
limit is not set, EPERM is returned
limit is set to "infinity" (currently NR_OPEN)
Created attachment 316057 [details]
If you haven't already, can you send this to email@example.com please ?
(In reply to comment #2)
> If you haven't already, can you send this to firstname.lastname@example.org
> please ?
Done, already in MM tree. Would it be possible include attached patch to next distribution kernel update, please? (all F8/F9/rawhide kernels) It is needed by bind package (bug #461913). Thanks
Improved version of patch is on http://lkml.org/lkml/2008/9/12/56
*** Bug 461913 has been marked as a duplicate of this bug. ***
Has this patch made it into the kernel, if so please close this bug.
Patch has been merged in 0c2d64fb6cae9aae480f6a46cfe79f8d7d48b59f (2.6.28 series), closing