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

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



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