[tor-bugs] #11396 [Tor]: Detect maximum memory at runtime to allow lower default than 8GB

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 3 15:45:34 UTC 2014


#11396: Detect maximum memory at runtime to allow lower default than 8GB
---------------------------+------------------------------------
 Reporter:  nickm          |          Owner:
     Type:  defect         |         Status:  new
 Priority:  normal         |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor            |        Version:
 Keywords:  tor-relay oom  |  Actual Points:
Parent ID:                 |         Points:
---------------------------+------------------------------------
 The default value for MaxMemInQueues is 8 GB, which means that for many
 users, there simply won't be any support for OOM prevention.

 I think we can do better than that by detecting the physical memory and
 picking a default MaxMemInQueues based on a percentage of that.  Of
 course, the user should still be able to override that value.

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


More information about the tor-bugs mailing list