[tor-bugs] #16697 [Tor]: set_max_file_descriptors() failures after upgrade to Tor v0.2.7.2-alpha

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 30 18:34:53 UTC 2015


#16697: set_max_file_descriptors() failures after upgrade to Tor v0.2.7.2-alpha
--------------------------+--------------------------------
     Reporter:  fk        |      Owner:
         Type:  defect    |     Status:  new
     Priority:  critical  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor       |    Version:  Tor: 0.2.7.2-alpha
   Resolution:            |   Keywords:  regression
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+--------------------------------

Comment (by dgoulet):

 I know why this is happening. It's due to the fact that
 `set_max_file_descriptors` is used in the code to only get the value of
 max file size but not actually setting it. Using `limit = 0`, the first
 check makes it that max_out is not set and returns -1 with that warning.

 Give me a few minutes to come up with a patch.

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


More information about the tor-bugs mailing list