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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs