[tor-bugs] #22255 [Core Tor/Tor]: Frequent OOM kills of tor process

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 1 20:42:16 UTC 2017


#22255: Frequent OOM kills of tor process
--------------------------+------------------------------------
 Reporter:  DeS           |          Owner:
     Type:  defect        |         Status:  new
 Priority:  High          |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Major         |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by cypherpunks):

 Replying to [comment:46 DeS]:
 > 1) as you can see on this pictures the system "dies" once at 19 k
 connections. But two times later everything is fine at more than 20k
 connections

 I would not be so sure about that since who knows what amount of
 connections it reached when it failed.


 > 4) How do we explain the tor process just uses 400 Meg of memory each
 (see arma comment above)
 > Something is not adding up here and this is what we have to find out.

 You didn't provide the OOM and your other logs this time that would tell
 us how much it used this time? Please provide all logs you have for all
 new OOMs (not just munin graphs).


 I think running two instances with MaxMemInQueues at 2000MB is to high,
 because you do not have more than 4GB memory.


 Lets try to set it to
 x = (4000 MB - (memory_your_os_uses_without_tor + 400 MB safety)) /
 number_of_tor_instances

 Are these physical or virtual machines?

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


More information about the tor-bugs mailing list