#24782: Set a lower default MaxMemInQueues value
 Reporter:  teor                          |          Owner:  ahf
     Type:  defect                        |         Status:
                                          |  needs_information
 Priority:  Medium                        |      Milestone:  Tor:
                                          |  0.3.3.x-final
Component:  Core Tor/Tor                  |        Version:
 Severity:  Normal                        |     Resolution:
 Keywords:  tor-relay, tor-dos, 033-must  |  Actual Points:
Parent ID:                                |         Points:  0.5
 Reviewer:                                |        Sponsor:
Changes (by dgoulet):

 * keywords:  tor-relay, tor-dos => tor-relay, tor-dos, 033-must
 * milestone:  Tor: 0.3.2.x-final => Tor: 0.3.3.x-final


 Replying to [comment:9 teor]:
 > Ok, so do we want to hold off on this change?
 > Or do we want to try 0.4*Total RAM?

 I'm up for it. Tor badly estimate the limit for the OOM :S...

 Big relays probably have huge amount of RAM (total) like 32 or 64GB so
 this would mean a limit of 12GB or 25GB with `0.4` which possibly is way
 over estimated anyway.

 For a 2GB relay, it would be 800MB. I think 1GB or even 1.2GB would be
 better but it is a good start.

 We could also do that computation than look at the "Available memory" and
 if it is lower than our estimation, we adjust without going below the
 minimum. But that can back fire if the machine uses lots of memory and a
 minute later frees half of it, tor wouldn't adapt unless we make that a
 moving target.

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24782#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
tor-bugs mailing list

Reply via email to