[tor-bugs] #25149 [Core Tor/Tor]: Hook rephist subsystem into the OOM handler

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 5 15:44:53 UTC 2018


#25149: Hook rephist subsystem into the OOM handler
------------------------------+------------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  performance, tor-relay
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------------
 It appears we do not look at the `rephist` subsystem in the OOM handler.

 But, we do track memory allocation with `rephist_total_alloc` counter.
 That counter needs to be audited because I found two places where we
 allocate memory for stats but do not increment that global counter.

 Bug #25141 could have been avoided in some ways with this or at least made
 obvious to the operator without tor crashing.

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


More information about the tor-bugs mailing list