[tor-bugs] #9686 [Tor]: MaxMemInCellQueues minimum of 500MB is too large for low-RAM relays (Raspberry Pi)

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 19 22:38:47 UTC 2014


#9686: MaxMemInCellQueues minimum of 500MB is too large for low-RAM relays
(Raspberry Pi)
----------------------------+------------------------------------
     Reporter:  gmorehouse  |      Owner:
         Type:  defect      |     Status:  needs_review
     Priority:  normal      |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor         |    Version:
   Resolution:              |   Keywords:  tor-relay 024-backport
Actual Points:              |  Parent ID:
       Points:              |
----------------------------+------------------------------------

Comment (by sysrqb):

 Raspberry Pis also have a version with 256 MB. I don't know if it is wise
 to appease such a memory constrained system though...

 I wonder if the validation error message should explicitly state that Tor
 is defaulting to the lower limit. Right now users may think it's just a
 suggestion. E.g. change

 {{{
     log_warn(LD_CONFIG, "MaxMemInQueues must be at least 256 MB for now. "
              "Ideally, have it as large as you can afford.");
 }}}

 to

 {{{
     log_warn(LD_CONFIG, "MaxMemInQueues was configured to be less than 256
 MB, "
              "we will increase it to the lower limit of 256 MB. "
              "Ideally, have it as large as you can afford.");
 }}}

 I'm really not happy with that wording, though.

 Otherwise I think the fix looks okay.

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


More information about the tor-bugs mailing list