[tor-relays] Out of memory message

usprey usprey at gmail.com
Thu Dec 11 04:10:10 UTC 2014


https://gitweb.torproject.org/tor.git/commit/?id=17ecd04fde2fd98b0cca3afb251b7173e22d3f42

On 10 December 2014 at 17:57, Logforme <m7527 at abc.se> wrote:

> On 2014-12-10 08:31, Roger Dingledine wrote:
> > Careful with your conclusion there -- because of memory fragmentation,
> > the process can still hold the memory even when Tor has freed the memory.
> htop currently shows 3622/3858 Mem used and 1545/3136 Swap used. (if I
> remember correctly it's usually less than 1000 Mem and 0 Swap used).
> So the attacker (intentional or accidental) actually managed to make Tor
> take all free memory on the machine before the MaxMemInQueues function
> stepped in. And now I have no way to release that memory short of
> restarting tor. If I used the machine for something apart from tor it
> would have been a successful attack.
> Guess I need to set the MaxMemInQueues parameter to something other than
> 0, maybe 2GB? What's the "reasonable default" for MaxMemInQueues? Some
> percentage of total RAM?
> _______________________________________________
> tor-relays mailing list
> tor-relays at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20141211/c42df478/attachment.html>


More information about the tor-relays mailing list