[MacPorts] #64403: [samba4] set_maxfiles: setrlimit for RLIMIT_NOFILE for 16424 files failed with error Invalid argument
MacPorts
noreply at macports.org
Mon Jan 10 12:00:48 UTC 2022
#64403: [samba4] set_maxfiles: setrlimit for RLIMIT_NOFILE for 16424 files failed
with error Invalid argument
-------------------------+--------------------
Reporter: BjarneDMat | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: samba4 |
-------------------------+--------------------
Comment (by jmroot):
Setting RLIMIT_NOFILE to a value greater than OPEN_MAX will fail. So the
value passed to setrlimit needs to be capped at OPEN_MAX.
--
Ticket URL: <https://trac.macports.org/ticket/64403#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list