[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra



#21074: setrlimit fails OSX Sierra
------------------------------+----------------------------------
     Reporter:  cypherpunks   |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: 0.2.9.6-rc
     Severity:  Normal        |   Keywords:  OSX Sierra setrlimit
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+----------------------------------
 User reported on Tor Stack Exchange that Tor Browser under their Sierra
 install was failing.

 It seems to be caused by a failed call to "setrlimit"

 {{{
 Dec 21 23:52:00.089 [notice] Tor 0.2.9.6-rc (git-a3e07633a45d5c16) running
 on Darwin with Libevent 2.0.22-stable, OpenSSL 1.0.2j and Zlib 1.2.8.
 Dec 21 23:52:00.090 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Dec 21 23:52:00.091 [notice] Read configuration file
 "/Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/torrc-
 defaults".
 Dec 21 23:52:00.092 [notice] Read configuration file
 "/Users/leomozoloa/Library/Application Support/TorBrowser-Data/Tor/torrc".
 Dec 21 23:52:00.106 [warn] Couldn't set maximum number of file
 descriptors: Invalid argument
 Dec 21 23:52:00.106 [warn] Failed to parse/validate config: Problem with
 ConnLimit value. See logs for details.
 Dec 21 23:52:00.106 [err] Reading config failed--see warnings above.
 }}}

 Note that the user *was* using the alpha but also gets the same result
 using the stable 6.0.8 release.

 I also noted that there have been issues with OSX and setrlimit before:
 https://gitweb.torproject.org/tor.git/tree/src/common/compat.c?h=release-0.2.8#n1742
 {{{
       /* On some platforms, OPEN_MAX is the real limit, and getrlimit() is
        * full of nasty lies.  I'm looking at you, OSX 10.5.... */
 }}}

 The original stack exchange ticket can be seen here:
 https://tor.stackexchange.com/questions/13466/tor-unexpectedly-exited-
 cant-launch-tor-browser-at-all-anymore-for-no-
 apparent?noredirect=1#comment14480_13466

 I'm willing to ask the user for more information if required and a
 stackexchange login with 50+ rep isn't available.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21074>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs