[tor-bugs] #27813 [Core Tor/Tor]: Tor 0.3.4.8 is leaking memory

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Sep 30 07:57:12 UTC 2018


#27813: Tor 0.3.4.8 is leaking memory
-------------------------------------------------+-------------------------
 Reporter:  anong                                |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.4.8
 Severity:  Critical                             |     Resolution:
 Keywords:  regression? memleak oom              |  Actual Points:
  034-backport tor-relay                         |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by mem):

 it happens also here (tor relay configured as non-exit)

 It takes about 8 hours to eat up 4GB of memory, then it starts eating
 swap, when it is done with swap it gets killed (oom-killer) and started
 again by systemd.

 it happens pretty reliably (every day since upgrading from 0.3.3.x)

 only observed on Ubuntu 18.04 (not on Debian 9 or FreeBSD also running
 0.3.4.8)

 the system is also running nyx

 I can not help debugging since I've no access to the affected box (just
 saw the monitoring and logs)


 > We really need somebody who can run Tor as a middle relay using tcmalloc
 or a similar memory usage profiling tool. That would have the best chance
 to tell us what accounts for the increased memory usage.

 can you write down the steps to do so, so affected people can collect the
 necessary information?

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


More information about the tor-bugs mailing list