[tor-bugs] #16274 [Tor]: Set the max open file value to the current limit if setrlimit() fails

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 5 17:18:24 UTC 2015


#16274: Set the max open file value to the current limit if setrlimit() fails
--------------------------+--------------------------------
     Reporter:  dgoulet   |      Owner:
         Type:  defect    |     Status:  needs_review
     Priority:  critical  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor       |    Version:
   Resolution:            |   Keywords:  TorCoreTeam201508
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+--------------------------------
Changes (by dgoulet):

 * status:  needs_revision => needs_review
 * keywords:  TorCoreTeam201507 => TorCoreTeam201508


Comment:

 New branch with updated documentation for `set_max_file_descriptors()`.
 Two places call this function in config.c, one of them checks the returned
 value and the second one is the rollback to the previous value which
 doesn't check the return value but seems there is no clean way to fail
 anyway there. So I think we are OK with this branch.

 See branch: `bug16274_027_02`

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16274#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list