[tor-bugs] #18637 [Tor]: Have OOM handler look at all memory consumption, not just some

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 25 21:34:05 UTC 2016


#18637: Have OOM handler look at all memory consumption, not just some
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:
         Type:  enhancement   |     Status:  new
     Priority:  High          |  Milestone:  Tor: 0.2.9.x-final
    Component:  Tor           |    Version:
     Severity:  Normal        |   Keywords:  dos
Actual Points:                |  Parent ID:
       Points:  medium        |   Reviewer:
      Sponsor:  SponsorU-can  |
------------------------------+--------------------------------
 Just because our OOM handler doesn't know how to free every kind of memory
 we allocate, doesn't mean we shouldn't teach it to consider our total
 allocation when deciding that we're low on memory.

 For platforms where malloc() can return NULL, we could have it look at
 that too.

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


More information about the tor-bugs mailing list