[MacPorts] #38999: base/src/pextlib1.0/tracelib.c setrlimit failure
MacPorts
noreply at macports.org
Fri May 3 21:37:42 PDT 2013
#38999: base/src/pextlib1.0/tracelib.c setrlimit failure
------------------------+--------------------------------
Reporter: ajdudman@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.1.3
Keywords: | Port:
------------------------+--------------------------------
Say OSX is 10.8.3 and open files are:
{{{
ulimit -Sn
10240
ulimit -Hn
12288
}}}
Then the current code will have rl.rlim_max as 12288, which is greater
than OPEN_MAX. This produces an error in setrlimit() at line 438. See the
attached log. OSX's setrlimit(2) is tricky and recently its behavior has
changed. The manual page gives highlights. This problem is analogous to
closed, fixed Ticket 35612 for bsdmake and the solution is similar.
--
Ticket URL: <https://trac.macports.org/ticket/38999>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list