[tor-bugs] #22747 [Core Tor/Tor]: Pls document relay with restricted socket count

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 17 01:30:13 UTC 2018


#22747: Pls document relay with restricted socket count
---------------------------+------------------------------------
 Reporter:  tmpname0901    |          Owner:  teor
     Type:  defect         |         Status:  needs_review
 Priority:  Medium         |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor   |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  doc tor-relay  |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------------
Changes (by teor):

 * status:  assigned => needs_review
 * component:  Core Tor => Core Tor/Tor
 * version:  Tor: 0.3.0.8 =>
 * milestone:  Tor: unspecified => Tor: 0.3.5.x-final
 * keywords:  Documentation tor-relay => doc tor-relay
 * type:  task => defect


Comment:

 Replying to [comment:1 nickm]:
 > Did you see the documentation for the ConnLimit option?  Did it make
 sense?

 ConnLimit is "The minimum number of file descriptors that must be
 available to the Tor process before it will start."

 https://www.torproject.org/docs/tor-manual.html.en

 It's not actually a socket limit. (Which confused me a lot when the extra
 load hit in late 2017.)

 My branch bug22747 on https://github.com/teor2345/tor.git explains how to
 use ulimit and ConnLimit to limit tor's file descriptor usage. But those
 instructions only work on small private bridges. (Relays need thousands of
 sockets, to connect to every other relay.)

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


More information about the tor-bugs mailing list